SimulationEventRecorder

Converts a simulation run into a stream of structured simulation events.

The recorder does not make decisions and does not mutate the simulation. It only serializes states, routes, conflicts, plans, additional dynamic events, and explanations to the configured sink.

Constructors

Link copied to clipboard
constructor(sink: SimulationEventSink)

Functions

Link copied to clipboard
fun recordRun(runResult: SimulationRunResult, resolutionPlan: ResolutionPlan?, explanations: List<DecisionExplanation>, additionalEvents: List<SimulationEvent> = emptyList())