examples.jmdp

## Class Admit

- java.lang.Object
- - jmarkov.basic.Action
  - - examples.jmdp.Admit

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

      public class Admit
      extends Action

  This class represents an admission or rejection in an admission control model. It is used in the admission control examples
  Author:
    Daniel Silva

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Admit(int a)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(Action a)`
    `int` | `getAdm()`
    `java.lang.String` | `label()` The user MUST override this method to give a (hopefully short) label for the Action.

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

      `description, equals, toString`

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

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

- - ### Constructor Detail

    - #### Admit

          public Admit(int a)

  - ### Method Detail

    - #### label

          public java.lang.String label()

      Description copied from class: `Action`
      The user MUST override this method to give a (hopefully short) label for the Action.
      Specified by:
        `label` in interface `JMarkovElement`
      Specified by:
        `label` in class `Action`
      Returns:
        short description of the Action.
      See Also:
        `JMarkovElement.description()`

    - #### compareTo

          public int compareTo(Action a)

    - #### getAdm

          public final int getAdm()

      Returns:
        Admit decision