Click or drag to resize

ValueInStateStoppingCondition Constructor (String, Double, Double, StopType)

Initializes a new instance.

Namespace:  AGI.Foundation.StoppingConditions
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public ValueInStateStoppingCondition(
	string element,
	double threshold,
	double valueTolerance,
	StopType type
)

Parameters

element
Type: SystemString
The name of the element in the state to sample when looking for an event.
threshold
Type: SystemDouble
The threshold to stop the function on. This value is ignored if the TypeOfStoppingCondition is not a threshold.
valueTolerance
Type: SystemDouble
The tolerance between the value of the element in the state and the threshold.
type
Type: AGI.Foundation.StoppingConditionsStopType
Specifies what type of threshold or extrema this StoppingCondition is attempting to stop on.
See Also