Click or drag to resize

StoppingConditionEvaluatorGetNextSampleSuggestion Method

Gets the next step that the thing that is sampling this StoppingConditionEvaluator should take. The returned Duration must be signed correctly. Override this method if this particular stopping condition has some sense of how it should be sampled, or if it somehow knows at what time it's extrema or thresholds will occur at.

Namespace:  AGI.Foundation.StoppingConditions
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 23.2.417.0 (23.2.417.0)
public virtual Duration GetNextSampleSuggestion(
	JulianDate lastNominalDateSampled,
	Duration otherSuggestedStep,
	ITimeBasedState state,
	IntegrationSense direction


Type: AGI.Foundation.TimeJulianDate
The last date that was sampled.
Type: AGI.Foundation.TimeDuration
The current step that the propagator will take if no other stopping condition will return a smaller value. This is returned in the base implementation of this method.
Type: AGI.Foundation.CoordinatesITimeBasedState
The state at the lastNominalDateSampled.
Type: AGI.Foundation.NumericalMethodsIntegrationSense
The integration direction.

Return Value

Type: Duration
The correctly signed, smallest in magnitude, step that this stopping condition thinks it should take.
See Also