Class MissingActivityConflict
java.lang.Object
gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
gov.nasa.jpl.aerie.scheduler.conflicts.MissingActivityConflict
- Direct Known Subclasses:
MissingActivityInstanceConflict,MissingActivityTemplateConflict
describes an issue in a plan whereby a desired activity instance is absent
such conflicts are typically addressed by scheduling additional activities
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionMissingActivityConflict(Goal goal, gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment environment) ctor creates a new conflict regarding a missing activity -
Method Summary
Modifier and TypeMethodDescriptionabstract 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 spansabstract ScheduleAtMethods inherited from class gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
getEvaluationEnvironment, getGoal
-
Constructor Details
-
MissingActivityConflict
public MissingActivityConflict(Goal goal, gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment environment) ctor creates a new conflict regarding a missing activity- Parameters:
goal- IN STORED the dissatisfied goal that issued the conflict
-
-
Method Details
-
scheduleAt
-
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 the times over which the activity's absence is itself causing a problem does not consider other constraints on the possible activity, eg timing with respect to other events or allowable state transitions or even the activity's own duration limits the times encompass both the start and end of the missing activity (they are not just start windows) REVIEW: maybe better to just have start windows? gets confusing and easy to mix up- Specified by:
getTemporalContextin classConflict- Returns:
-