ReplanningTriggeredEvent

data class ReplanningTriggeredEvent(val tick: Int, val aircraft: String, val reason: String) : SimulationEvent(source)

Replanning trigger event describing why a new route or maneuver was requested.

Constructors

Link copied to clipboard
constructor(tick: Int, aircraft: String, reason: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val tick: Int
Link copied to clipboard
open override val type: String

Functions

Link copied to clipboard

Serializes a simulation event as a single JSONL line.

Link copied to clipboard
fun SimulationEvent.toJsonObject(): JsonObject

Converts a simulation event to the JSON object used by the JSONL event stream.