Class OptionGoal
java.lang.Object
gov.nasa.jpl.aerie.scheduler.goals.Goal
gov.nasa.jpl.aerie.scheduler.goals.OptionGoal
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class gov.nasa.jpl.aerie.scheduler.goals.Goal
name, planHorizon, resourceConstraints, simulateAfter, temporalContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextractResources(Set<String> names) getConflicts(Plan plan, gov.nasa.jpl.aerie.constraints.model.SimulationResults simulationResults, gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment evaluationEnvironment, gov.nasa.jpl.aerie.merlin.protocol.model.SchedulerModel schedulerModel) identifies issues in a plan that diminishes this goal's satisfaction the method must return the same issues in the same order given the same input plan, but they need not be otherwise sorted an empty return list indicates that no issues could be identified in the plan that this goal would care to improve uponbooleanMethods inherited from class gov.nasa.jpl.aerie.scheduler.goals.Goal
getName, getResourceConstraints, getTemporalContext, setTemporalContext, shouldRollbackIfUnsatisfied
-
Constructor Details
-
OptionGoal
public OptionGoal()
-
-
Method Details
-
getSubgoals
-
hasOptimizer
public boolean hasOptimizer() -
getOptimizer
-
getConflicts
public Collection<Conflict> getConflicts(Plan plan, gov.nasa.jpl.aerie.constraints.model.SimulationResults simulationResults, gov.nasa.jpl.aerie.constraints.model.EvaluationEnvironment evaluationEnvironment, gov.nasa.jpl.aerie.merlin.protocol.model.SchedulerModel schedulerModel) Description copied from class:Goalidentifies issues in a plan that diminishes this goal's satisfaction the method must return the same issues in the same order given the same input plan, but they need not be otherwise sorted an empty return list indicates that no issues could be identified in the plan that this goal would care to improve upon- Overrides:
getConflictsin classGoal- Parameters:
plan- IN: the plan that this goal should be evaluated againstsimulationResults-- Returns:
- a list of issues in the plan that diminish goal satisfaction
-
extractResources
- Overrides:
extractResourcesin classGoal
-