Class DetermIATimeRV

All Implemented Interfaces:
Cloneable, RandomVariableOps<Long>

public class DetermIATimeRV extends InterarrivalTimeRV
Random variable that generates a deterministic sequence of long values.
  • Constructor Details

    • DetermIATimeRV

      public DetermIATimeRV(long[] values, long finalValue)
      Constructor. When next is called, after the values in the first argument are returned in order, the final value is returned persistently from then on.
      Parameters:
      values - the values of the random variable in the order in which these are returned
      finalValue - the final value of the random variable
    • DetermIATimeRV

      public DetermIATimeRV(long[] values)
      Constructor for a repeating sequence.
      Parameters:
      values - the values of the random variable in the order in which these are returned
    • DetermIATimeRV

      public DetermIATimeRV(long value, long finalValue)
      Constructor given a starting value and a final value.
      Parameters:
      value - the starting value of the random variable
      finalValue - the subsequent value of the random variable
  • Method Details