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.3.420.0 (24.3.420.0)
Syntax public ValueInStateStoppingConditionConstraint(
string elementIdentification,
double threshold,
double tolerance,
WhenToCheckConstraint whenToCheck,
InequalityCondition inequality,
bool useAbsoluteValue
)
Public Sub New (
elementIdentification As String,
threshold As Double,
tolerance As Double,
whenToCheck As WhenToCheckConstraint,
inequality As InequalityCondition,
useAbsoluteValue As Boolean
)
public:
ValueInStateStoppingConditionConstraint(
String^ elementIdentification,
double threshold,
double tolerance,
WhenToCheckConstraint whenToCheck,
InequalityCondition inequality,
bool useAbsoluteValue
)
new :
elementIdentification : string *
threshold : float *
tolerance : float *
whenToCheck : WhenToCheckConstraint *
inequality : InequalityCondition *
useAbsoluteValue : bool -> ValueInStateStoppingConditionConstraint
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