examples.jmdp

## Class Order

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

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

      public class Order
      extends Action

  This class represents an order in an inventory system. It is used in many of the Examples.
  Author:
    Germán Riano, Andres Sarmiento

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(Action a)`
    `int` | `getSize()`
    `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`

- - ### 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)

    - #### getSize

          public final int getSize()

      Returns:
        Returns the order size.