Class TimeRangeExpression

java.lang.Object
gov.nasa.jpl.aerie.scheduler.constraints.TimeRangeExpression

public class TimeRangeExpression extends Object
A time range expression combines timewindows from states, activity expressions, state expressions, and other time range expressions and allows to apply a sequence of filters and transforms to be used in goals
  • Field Details

    • constantWin

      protected gov.nasa.jpl.aerie.constraints.time.Windows constantWin
    • name

      protected String name
    • timeRangeExpressions

      protected List<TimeRangeExpression> timeRangeExpressions
    • filtersAndTransformers

      protected List<Object> filtersAndTransformers
    • stateExpr

      protected List<gov.nasa.jpl.aerie.constraints.tree.Expression<gov.nasa.jpl.aerie.constraints.time.Windows>> stateExpr
    • constantsStates

      protected List<String> constantsStates
  • Method Details

    • computeRange

      public gov.nasa.jpl.aerie.constraints.time.Windows computeRange(gov.nasa.jpl.aerie.constraints.model.SimulationResults simulationResults, Plan plan, gov.nasa.jpl.aerie.constraints.time.Windows domain)
      TODO: for now, acts like a big AND. We need a OR.
      Parameters:
      plan - x
      domain - x
      Returns:
      x
    • setName

      public void setName(String name)
    • constantValuesOf

      public static TimeRangeExpression constantValuesOf(String discreteProfileName)
    • of

      public static TimeRangeExpression of(gov.nasa.jpl.aerie.constraints.tree.Expression<gov.nasa.jpl.aerie.constraints.time.Windows> sce)
    • of

      public static TimeRangeExpression of(gov.nasa.jpl.aerie.constraints.time.Windows wins)