Class MissingActivityInstanceConflict
java.lang.Object
gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
gov.nasa.jpl.aerie.scheduler.conflicts.MissingActivityConflict
gov.nasa.jpl.aerie.scheduler.conflicts.MissingActivityInstanceConflict
describes an issue in a plan caused by a specific activity instance missing
such conflicts are typically addressed by scheduling the specific instance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SchedulingActivitythe specific activity instance that is desired in the plan -
Constructor Summary
ConstructorsConstructorDescriptionMissingActivityInstanceConflict(ActivityExistentialGoal goal, SchedulingActivity instance, gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment evaluationEnvironment) ctor creates a new conflict regarding a missing activity instance REVIEW: do we want an ActivityInstanceGoal type? -
Method Summary
Modifier and TypeMethodDescriptiongetGoal()the goal whose dissatisfaction initially created this conflictfetches the specifically requested instance that is desiredgov.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 spanstoString()Methods inherited from class gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
getEvaluationEnvironment
-
Field Details
-
instance
the specific activity instance that is desired in the plan
-
-
Constructor Details
-
MissingActivityInstanceConflict
public MissingActivityInstanceConflict(ActivityExistentialGoal goal, SchedulingActivity instance, gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment evaluationEnvironment) ctor creates a new conflict regarding a missing activity instance REVIEW: do we want an ActivityInstanceGoal type?- Parameters:
goal- IN STORED the dissatisfied goal that issued the conflictinstance- IN STORED the specific activity instance that is desired in the plan
-
-
Method Details
-
toString
-
scheduleAt
- Specified by:
scheduleAtin classMissingActivityConflict
-
getTemporalContext
public 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 FINISH: fix up documentation the time at which the desired activity would start 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 just the desired start times of the missing activity- Specified by:
getTemporalContextin classMissingActivityConflict- Returns:
-
getGoal
the goal whose dissatisfaction initially created this conflict -
getInstance
fetches the specifically requested instance that is desired- Returns:
- the specifically requested instance that is desired
-