Class TimeSeriesRewardResult

java.lang.Object
org.oristool.simulator.TimeSeriesRewardResult

public final class TimeSeriesRewardResult extends Object
  • Constructor Details

    • TimeSeriesRewardResult

      public TimeSeriesRewardResult(BigDecimal timeStep)
  • Method Details

    • addTimeSeries

      public BigDecimal[] addTimeSeries(Marking m, BigDecimal[] timeSeries)
    • getTimeSeries

      public BigDecimal[] getTimeSeries(Marking m)
    • getMarkings

      public Collection<Marking> getMarkings()
    • getTimeStep

      public BigDecimal getTimeStep()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isValid

      public boolean isValid(BigDecimal error)
      Checks that, for each time point, the sum of probabilities adds to 1 (up to the given error).
      Parameters:
      error - allowed error at each time point
      Returns:
      true if probabilities are greater than (1-error) at each time point