Click or drag to resize

StoppablePropagatorCreateStoppedPropagatorResult Method

Creates the results of the overall propagation after the stopping event has been found. This should be overridden when your propagator stores additional data during propagation that should be returned. When overriding this method, do not call the base implementation.

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
protected virtual StoppablePropagatorResults CreateStoppedPropagatorResult(
	StoppingConditionEvent stoppingEvent,
	IList<StoppingConditionEvent> detectedEvents,
	IList<ITimeBasedState> savedStates,
	bool aborted
)

Parameters

stoppingEvent
Type: AGI.Foundation.StoppingConditionsStoppingConditionEvent
The event that actually stopped propagation.
detectedEvents
Type: System.Collections.GenericIListStoppingConditionEvent
All of the events found during propagation.
savedStates
Type: System.Collections.GenericIListITimeBasedState
All of the states saved during propagation.
aborted
Type: SystemBoolean
If the run was aborted.

Return Value

Type: StoppablePropagatorResults
The results for a propagation run.
See Also