Class DetermBooleanRV

All Implemented Interfaces:
Cloneable, RandomVariableOps<Boolean>

public class DetermBooleanRV extends BooleanRandomVariable
Random variable that generates a deterministic sequence of boolean values.
  • Constructor Details

    • DetermBooleanRV

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

      public DetermBooleanRV(boolean value, boolean 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
    • DetermBooleanRV

      public DetermBooleanRV(boolean[] values, boolean finalValue)
      Constructor given initial values and a final value.
      Parameters:
      values - the initial sequence of values for the random variable
      finalValue - the subsequent value of the random variable after the initial sequence is used
  • Method Details