PauseBehavior

sealed interface PauseBehavior

Behavior for when the simulation should pause.

Inheritors

Types

Link copied to clipboard
data class AfterDuration(val dur: Duration) : PauseBehavior

Pause after a given amount of time has elapsed.

Link copied to clipboard
data object AtEnd : PauseBehavior

Do not pause; continue to the end of the plan.

Link copied to clipboard
data class EarliestOf(val pausePoints: List<PauseBehavior>) : PauseBehavior

Pause at the earliest of a list of possible pause points.

Link copied to clipboard
data class LatestOf(val pausePoints: List<PauseBehavior>) : PauseBehavior

Pause at the latest of a list of possible pause points.