org.encog.ml.world

## Class SuccessorState

- java.lang.Object
- - org.encog.ml.world.SuccessorState

- All Implemented Interfaces:
    Comparable<SuccessorState>

      public class SuccessorState
      extends Object
      implements Comparable<SuccessorState>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SuccessorState(State state, double probability)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(SuccessorState o)`
    `double` | `getProbability()`
    `State` | `getState()`
    `String` | `toString()`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### SuccessorState

          public SuccessorState(State state,
                        double probability)

  - ### Method Detail

    - #### getState

          public State getState()

      Returns:
        the state

    - #### getProbability

          public double getProbability()

      Returns:
        the probability

    - #### compareTo

          public int compareTo(SuccessorState o)

      Specified by:
        `compareTo` in interface `Comparable<SuccessorState>`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.