Package | Description |
---|---|
agi.foundation.propagators |
Contains types used in producing the state of an object from a known element set.
|
agi.foundation.segmentpropagation |
Contains types for modeling a trajectory in segments, where the type of propagation varies for each segment.
|
agi.foundation.stoppingconditions |
Contains types for stopping propagation when various events occur.
|
Modifier and Type | Method and Description |
---|---|
StoppingCondition |
StoppablePropagatorResults.getConditionStoppedOn()
Gets the
definition of the stopping condition
that stopped the function. |
Modifier and Type | Method and Description |
---|---|
List<StoppingCondition> |
StoppablePropagatorDefinition.getStoppingConditions()
Gets the list of
StoppingConditions that will
find events and dictate when propagation should end. |
Modifier and Type | Method and Description |
---|---|
StoppingCondition |
ChangeStoppingConditionEnabledOperator.getCondition()
Gets the
StoppingCondition that will get enabled or disabled. |
StoppingCondition |
SinglePropagateSegmentResults.getConditionStoppedOn()
Gets the final
StoppingCondition that stopped propagation. |
StoppingCondition |
PropagateSegmentResults.getConditionStoppedOn()
Gets the final
StoppingCondition that stopped propagation. |
Modifier and Type | Method and Description |
---|---|
ArrayList<StoppingCondition> |
FollowSegmentStartsWithStoppingConditions.getConditions()
Gets the list of
StoppingConditions that
will end propagation of the FollowSegment . |
ArrayList<StoppingCondition> |
FollowSegmentEndsWithStoppingConditions.getConditions()
Gets the list of
StoppingConditions that
will end propagation of the FollowSegment . |
List<StoppingCondition> |
PropagateSegmentResults.getConditionsThatStoppedPropagation()
Gets all of the
StoppingConditions that stopped propagation in the order that
they occurred. |
List<StoppingCondition> |
PropagateSegment.getStoppingConditions()
Gets the
stopping conditions that may stop this segment. |
Modifier and Type | Method and Description |
---|---|
List<StateElementAdapter> |
PropagateSegmentResults.backwardsAdaptersForStoppingConditionSegment(StoppingCondition condition)
|
boolean |
PropagateSegment.clearStoppingConditionsAutoSegment(StoppingCondition stoppingCondition)
Removes the optional
segment that would have been run if the
specified StoppingCondition would stop propagation. |
int |
PropagateSegment.getNumberOfTimesToExecuteStoppingConditionsAutoSegment(StoppingCondition stoppingCondition)
Returns the number of times the
auto-segment associated
with the stoppingCondition is set to execute. |
SegmentDefinition |
PropagateSegment.getStoppingConditionsAutoSegment(StoppingCondition stoppingCondition)
Returns the
SegmentDefinition that is set to be run if the
specified stoppingCondition stops propagation,
or null if there has not been such a segment specified. |
void |
ChangeStoppingConditionEnabledOperator.setCondition(StoppingCondition value)
Sets the
StoppingCondition that will get enabled or disabled. |
void |
SinglePropagateSegmentResults.setConditionStoppedOn(StoppingCondition value)
Sets the final
StoppingCondition that stopped propagation. |
void |
PropagateSegmentResults.setConditionStoppedOn(StoppingCondition value)
Sets the final
StoppingCondition that stopped propagation. |
void |
PropagateSegment.setStoppingConditionAutoSegment(StoppingCondition stoppingCondition,
SegmentDefinition autoSegment,
int numberOfTimesToExecuteAutoSequence)
Each
StoppingCondition in the StoppingConditions (get ) can have a
SegmentDefinition associated with it that will be propagated if that
StoppingCondition happens to be the one that stops this segments propagation. |
Constructor and Description |
---|
ChangeStoppingConditionEnabledOperator(StoppingCondition condition,
ChangeStoppingConditionOption newOption)
Initializes a new instance.
|
FollowSegmentEndsWithStoppingConditions(StoppingCondition... conditions)
Initializes a new instance.
|
FollowSegmentStartsWithStoppingConditions(StoppingCondition... conditions)
Initializes a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessStoppingCondition
A
StoppingCondition that will stop after an access query is satisfied. |
class |
DelegateStoppingCondition
A stopping condition that will stop a function by search for thresholds and extrema
from values of a
ConditionCheckCallback . |
class |
DurationStoppingCondition
A
StoppingCondition that will stop after a given Duration has passed. |
class |
EpochSecondsStoppingCondition
A
StoppingCondition whose threshold is the number of seconds
past an arbitrary epoch. |
class |
ScalarStoppingCondition
A
StoppingCondition that will stop propagation by search for thresholds and extrema
from values of a Scalar (get / set ). |
class |
ValueInStateStoppingCondition
|
Modifier and Type | Method and Description |
---|---|
StoppingCondition |
StoppingConditionEvent.getCondition()
Gets the definition of the
StoppingCondition that detected the event. |
StoppingCondition |
StoppingConditionEvaluator.getIdentifier()
Gets the
definition that created this
StoppingConditionEvaluator . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ValueInStateStoppingCondition.checkForSameDefinition(StoppingCondition other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
protected abstract boolean |
StoppingCondition.checkForSameDefinition(StoppingCondition other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
protected boolean |
ScalarStoppingCondition.checkForSameDefinition(StoppingCondition other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
protected boolean |
EpochSecondsStoppingCondition.checkForSameDefinition(StoppingCondition other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
protected boolean |
DurationStoppingCondition.checkForSameDefinition(StoppingCondition other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
protected boolean |
DelegateStoppingCondition.checkForSameDefinition(StoppingCondition other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
protected boolean |
AccessStoppingCondition.checkForSameDefinition(StoppingCondition other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
Constructor and Description |
---|
StoppingCondition(StoppingCondition existingInstance,
CopyContext context)
Initializes a new instance as a copy of an existing instance.
|
StoppingConditionEvaluator(EvaluatorGroup group,
StoppingCondition definition)
Initializes a new instance.
|
StoppingConditionEvent(StoppingCondition condition,
double value,
double thresholdUsed,
ITimeBasedState stateAtEvent,
StoppingConditionTriggeredBehavior behavior)
Initializes a new instance.
|