examples.jmdp

## Class TandemQueues

- java.lang.Object
- - jmarkov.basic.State
  - - jmarkov.basic.PropertiesState
    - - examples.jmdp.TandemQueues

- All Implemented Interfaces:
    java.lang.Comparable<State>, JMarkovElement, PropertiesElement

      public class TandemQueues
      extends PropertiesState

  This class represents a state in a tandem queuing system it is used by the Access Control examples
  Author:
    Daniel Silva

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TandemQueues(int[] custs)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getQ1()`
    `int` | `getQ2()`

    - ### Methods inherited from class jmarkov.basic.PropertiesState

      `clone, compareTo, compareTo, computeMOPs, getNumProps, getProperties, getProperty, isConsistent, label`

    - ### Methods inherited from class jmarkov.basic.State

      `description, equals, getIndex, getMOP, getMOP, setMOP, setMOP, toString`

    - ### Methods inherited from class java.lang.Object

      `getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface jmarkov.basic.JMarkovElement

      `description, equals, toString`

- - ### Constructor Detail

    - #### TandemQueues

          public TandemQueues(int[] custs)

      Parameters:
        `custs` - State of the system

  - ### Method Detail

    - #### getQ1

          public int getQ1()

      Returns:
        Number of customers in queue 1

    - #### getQ2

          public int getQ2()

      Returns:
        Number of customers in queue 2