Class MissingAssociationConflict
java.lang.Object
gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
gov.nasa.jpl.aerie.scheduler.conflicts.MissingAssociationConflict
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionMissingAssociationConflict(Goal goal, Collection<SchedulingActivity> instancesToChooseFrom, Optional<gov.nasa.jpl.aerie.types.ActivityDirectiveId> anchorIdTo, Optional<Boolean> anchorToStart) ctor creates a new conflict -
Method Summary
Methods inherited from class gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
getEvaluationEnvironment, getGoal
-
Constructor Details
-
MissingAssociationConflict
public MissingAssociationConflict(Goal goal, Collection<SchedulingActivity> instancesToChooseFrom, Optional<gov.nasa.jpl.aerie.types.ActivityDirectiveId> anchorIdTo, Optional<Boolean> anchorToStart) ctor creates a new conflict- Parameters:
goal- IN STORED the dissatisfied goal that issued the conflictinstancesToChooseFrom- IN STORED the list of instances to choose from to perform the associationanchorToStart- IN STORED boolean indicating whether the anchor is associated to the START or the END The value is used to support a Solver implementation to calculate the absolute START time offset
-
-
Method Details
-
getActivityInstancesToChooseFrom
-
getAnchorIdTo
-
getAnchorToStart
-
getTemporalContext
public gov.nasa.jpl.aerie.constraints.time.Windows getTemporalContext()Description copied from class:Conflictthe times over which the goal was dissatisfied and induced this conflict the relevant times may be composed of several discontinous spans- Specified by:
getTemporalContextin classConflict- Returns:
- the time windows when the goal was dissatisfied
-
toString
-