Class Conflict

java.lang.Object
gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
Direct Known Subclasses:
MissingActivityConflict, MissingActivityNetworkConflict, MissingAssociationConflict, MissingRecurrenceConflict, UnsatisfiableGoalConflict

public abstract class Conflict extends Object
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
    Modifier and Type
    Field
    Description
    protected final Goal
    reference to the goal that initially issued the conflict used to hint at how to best solve the conflict
  • Constructor Summary

    Constructors
    Constructor
    Description
    Conflict(Goal goal, gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment evaluationEnvironment)
    ctor creates a new conflict
  • Method Summary

    Modifier and Type
    Method
    Description
    gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment
     
    the goal whose dissatisfaction initially created this conflict
    abstract gov.nasa.jpl.aerie.constraints.time.Windows
    the times over which the goal was dissatisfied and induced this conflict the relevant times may be composed of several discontinous spans

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • goal

      protected final Goal 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

      public Goal 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