Package | Description |
---|---|
agi.foundation.stoppingconditions |
Contains types for stopping propagation when various events occur.
|
Modifier and Type | Method and Description |
---|---|
static InequalityCondition |
InequalityCondition.getDefault()
Get the enum constant that is considered to be the default.
|
static InequalityCondition |
InequalityCondition.getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
InequalityCondition |
ThresholdStoppingConditionConstraint.getInequalityCriteria()
Gets how the calculated value should be checked to the threshold in the concrete type.
|
InequalityCondition |
JulianDateStoppingConditionConstraint.getInequalityCriteria()
Gets how the calculated value should be checked to the threshold in the concrete type.
|
static InequalityCondition |
InequalityCondition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InequalityCondition[] |
InequalityCondition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ThresholdStoppingConditionConstraint.setInequalityCriteria(InequalityCondition value)
Sets how the calculated value should be checked to the threshold in the concrete type.
|
void |
JulianDateStoppingConditionConstraint.setInequalityCriteria(InequalityCondition value)
Sets how the calculated value should be checked to the threshold in the concrete type.
|
static boolean |
ThresholdStoppingConditionConstraintEvaluator.simpleCheck(double currentValue,
double threshold,
double tolerance,
boolean useAbsoluteValue,
InequalityCondition inequalityCriteria,
double smallestValue,
double largestValue)
Performs a simple check of the
currentValue against a threshold and tolerance ,
using the useAbsoluteValue and inequalityCriteria to determine if this
constraint is satisfied by the currentValue . |
Constructor and Description |
---|
DurationStoppingConditionConstraint(Duration threshold,
Duration tolerance,
WhenToCheckConstraint whenToCheck,
InequalityCondition inequality,
boolean useAbsoluteValue)
Initializes a new instance.
|
JulianDateStoppingConditionConstraint(JulianDate threshold,
Duration tolerance,
WhenToCheckConstraint whenToCheck,
InequalityCondition inequality)
Initializes a new instance.
|
ScalarStoppingConditionConstraint(Scalar scalar,
double threshold,
double tolerance,
WhenToCheckConstraint whenToCheck,
InequalityCondition inequality,
boolean useAbsoluteValue)
Initializes a new instance.
|
ThresholdStoppingConditionConstraint(double threshold,
double tolerance,
WhenToCheckConstraint whenToCheck,
InequalityCondition inequality,
boolean useAbsoluteValue)
Initializes a new instance.
|
ValueInStateStoppingConditionConstraint(String elementIdentification,
double threshold,
double tolerance,
WhenToCheckConstraint whenToCheck,
InequalityCondition inequality,
boolean useAbsoluteValue)
Initializes a new instance.
|