jmarkov.basic

## Class StateC

- java.lang.Object
- - jmarkov.basic.State
  - - jmarkov.basic.StateC

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

      public abstract class StateC
      extends State

  State to model shortest path problems.
  Author:
    Juan F Redondo, German Riaņo - Universidad de los Andes

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StateC()` Default constructor
    `StateC(boolean t)` General constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isTerminal()`

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

      `compareTo, computeMOPs, description, equals, getIndex, getMOP, getMOP, isConsistent, label, setMOP, setMOP, toString`

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

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

- - ### Constructor Detail

    - #### StateC

          public StateC()

      Default constructor

    - #### StateC

          public StateC(boolean t)

      General constructor.
      Parameters:
        `t` - Whether it is a terminal state or not.

  - ### Method Detail

    - #### isTerminal

          public final boolean isTerminal()

      Returns:
        Returns true if this a terminal state.