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§
- Always
Continue Strategy - A default strategy that unconditionally allows simulation continuation.
- Limit
Abort Strategy - A continuation strategy that monitors and limits the number of micro-steps.
- Limit
Discard Strategy - A strategy that discards remaining tasks when the micro-step limit is reached.
Enums§
- Limit
Abort Strategy Error - Errors associated with the
LimitAbortStrategy.
Traits§
- Continue
Strategy - A trait for defining strategies that decide whether to continue simulation execution after each micro-step.
Type Aliases§
- Continuous
Strategy Result - The result type for simulation continuation strategies.