Class MissingAssociationConflict

java.lang.Object
gov.nasa.jpl.aerie.scheduler.conflicts.Conflict
gov.nasa.jpl.aerie.scheduler.conflicts.MissingAssociationConflict

public class MissingAssociationConflict extends Conflict
  • 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 conflict
      instancesToChooseFrom - IN STORED the list of instances to choose from to perform the association
      anchorToStart - 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

      public Collection<SchedulingActivity> getActivityInstancesToChooseFrom()
    • getAnchorIdTo

      public Optional<gov.nasa.jpl.aerie.types.ActivityDirectiveId> getAnchorIdTo()
    • getAnchorToStart

      public Optional<Boolean> getAnchorToStart()
    • getTemporalContext

      public gov.nasa.jpl.aerie.constraints.time.Windows getTemporalContext()
      Description copied from class: Conflict
      the times over which the goal was dissatisfied and induced this conflict the relevant times may be composed of several discontinous spans
      Specified by:
      getTemporalContext in class Conflict
      Returns:
      the time windows when the goal was dissatisfied
    • toString

      public String toString()
      Overrides:
      toString in class Object