Class Conflict
java.lang.Object
gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
- Direct Known Subclasses:
MissingActivityConflict,MissingActivityNetworkConflict,MissingAssociationConflict,MissingRecurrenceConflict,UnsatisfiableGoalConflict
describes an issue in a plan that can be improved
conflicts arise from various planning goals being dissatisfied with the
current contents of the plan: eg not enough activities, resources out of
bounds, disallowed transitions, etc
each derived conflict type contains the additional context that may be
useful in addressing the problem and improving the plan
REVIEW: should not-fully-satisfied preferences be conflicts?
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongov.nasa.jpl.aerie.constraints.model.EvaluationEnvironmentgetGoal()the goal whose dissatisfaction initially created this conflictabstract gov.nasa.jpl.aerie.constraints.time.Windowsthe times over which the goal was dissatisfied and induced this conflict the relevant times may be composed of several discontinous spans
-
Field Details
-
goal
reference to the goal that initially issued the conflict used to hint at how to best solve the conflict
-
-
Constructor Details
-
Conflict
public Conflict(Goal goal, gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment evaluationEnvironment) ctor creates a new conflict- Parameters:
goal- IN STORED the dissatisfied goal that issued the conflict
-
-
Method Details
-
getGoal
the goal whose dissatisfaction initially created this conflict- Returns:
- reference to the dissatisfied goal that caused this conflict
-
getEvaluationEnvironment
public gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment getEvaluationEnvironment() -
getTemporalContext
public abstract gov.nasa.jpl.aerie.constraints.time.Windows getTemporalContext()the times over which the goal was dissatisfied and induced this conflict the relevant times may be composed of several discontinous spans- Returns:
- the time windows when the goal was dissatisfied
-