StoppingConditionConstraintEvaluatorAreConstraintsSatisfied Method |
Namespace:
AGI.Foundation.StoppingConditions
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static bool AreConstraintsSatisfied(
IList<StoppingConditionConstraintEvaluator> constraints,
ITimeBasedState state,
WhenToCheckConstraint whenCheckIsOccurring
)
Public Shared Function AreConstraintsSatisfied (
constraints As IList(Of StoppingConditionConstraintEvaluator),
state As ITimeBasedState,
whenCheckIsOccurring As WhenToCheckConstraint
) As Boolean
public:
static bool AreConstraintsSatisfied(
IList<StoppingConditionConstraintEvaluator^>^ constraints,
ITimeBasedState^ state,
WhenToCheckConstraint whenCheckIsOccurring
)
static member AreConstraintsSatisfied :
constraints : IList<StoppingConditionConstraintEvaluator> *
state : ITimeBasedState *
whenCheckIsOccurring : WhenToCheckConstraint -> bool
Parameters
- constraints
- Type: System.Collections.GenericIListStoppingConditionConstraintEvaluator
The constraints to check. - state
- Type: AGI.Foundation.CoordinatesITimeBasedState
The state to check. - whenCheckIsOccurring
- Type: AGI.Foundation.StoppingConditionsWhenToCheckConstraint
Specifies when this method was called during propagation. Only the
constraints with the matching setting will be checked.
Return Value
Type:
Boolean if all of the
constraints that
should be checked will work with the
state, and propagation should stop.
Otherwise,
, and propagation should continue.
See Also