Click or drag to resize

ValueInStateStoppingConditionConstraint Constructor (String, Double, Double, WhenToCheckConstraint, InequalityCondition, Boolean)

Initializes a new instance.

Namespace:  AGI.Foundation.StoppingConditions
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public ValueInStateStoppingConditionConstraint(
	string elementIdentification,
	double threshold,
	double tolerance,
	WhenToCheckConstraint whenToCheck,
	InequalityCondition inequality,
	bool useAbsoluteValue
)

Parameters

elementIdentification
Type: SystemString
The element in the state to compare to the threshold.
threshold
Type: SystemDouble
The threshold to compare with the elementIdentification.
tolerance
Type: SystemDouble
The tolerance to use when comparing the threshold with the value of the elementIdentification.
whenToCheck
Type: AGI.Foundation.StoppingConditionsWhenToCheckConstraint
Should this StoppingConditionConstraint be checked when the stop is detected or when the exact stop is found.
inequality
Type: AGI.Foundation.StoppingConditionsInequalityCondition
How to compare the computed value with the threshold.
useAbsoluteValue
Type: SystemBoolean
Should the absolute value of the elementIdentification be used.
See Also