Package-level declarations

Types

Link copied to clipboard
interface EventLog

Interface for logging simulation events with their timestamps.

Link copied to clipboard
object GroupScope

Thread-local context manager for hierarchical node grouping.

Link copied to clipboard
interface MetricReporter

Callback interface for collecting metrics from the simulator.

Link copied to clipboard
abstract class Node(label: String, val incoming: List<InputChannel<*, *>>, val outgoing: List<OutputChannel<*, *>>) : NodeGroup

Base class for nodes in the simulation network.

Link copied to clipboard
abstract class NodeGroup(val label: String) : HasDisplayProperties

Base class representing a group of nodes or individual node in the simulation network.

Link copied to clipboard
class Scenario(val sources: List<SourceNode>)

Represents the structure and configuration of a simulation.

Link copied to clipboard
sealed interface Simulator

Core simulation engine that orchestrates discrete event simulation.

Link copied to clipboard
abstract class SourceNode(label: String, outgoing: List<PushOutputChannel<*>>) : Node

Base class for source nodes (nodes with no incoming channels).

Functions

Link copied to clipboard
fun Simulator(log: EventLog, scenario: Scenario): Simulator

Creates a simulator for the given scenario.

fun Simulator(log: EventLog, scenario: Scenario, metricReporter: MetricReporter): Simulator

Creates a simulator for the given scenario with a metric reporter.