Skip to main content

Module strategy

Module strategy 

Source
Expand description

The strategy module defines various strategies that control the simulation’s behavior, particularly how it handles micro-step continuation.

This allows for flexible control over simulation flow, such as enforcing limits on micro-step iterations or always continuing.

Structs§

AlwaysContinueStrategy
A default strategy that unconditionally allows simulation continuation.
LimitAbortStrategy
A continuation strategy that monitors and limits the number of micro-steps.
LimitDiscardStrategy
A strategy that discards remaining tasks when the micro-step limit is reached.

Enums§

LimitAbortStrategyError
Errors associated with the LimitAbortStrategy.

Traits§

ContinueStrategy
A trait for defining strategies that decide whether to continue simulation execution after each micro-step.

Type Aliases§

ContinuousStrategyResult
The result type for simulation continuation strategies.