org.encog.ml.world.grid

## Class GridState

- java.lang.Object
- - org.encog.ml.world.basic.BasicState
  - - org.encog.ml.world.grid.GridState

- All Implemented Interfaces:
    State

      public class GridState
      extends BasicState

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GridState(GridWorld theOwner, int theRow, int theColumn, boolean blocked)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getColumn()`
    `GridWorld` | `getOwner()`
    `int` | `getRow()`
    `String` | `toString()`

    - ### Methods inherited from class org.encog.ml.world.basic.BasicState

      `getPolicyValue, getProperty, getReward, getVisited, increaseVisited, setAllPolicyValues, setPolicyValueSize, setProperty, setReward, setVisited, wasVisited`

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

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

- - ### Constructor Detail

    - #### GridState

          public GridState(GridWorld theOwner,
                   int theRow,
                   int theColumn,
                   boolean blocked)

  - ### Method Detail

    - #### getRow

          public int getRow()

      Returns:
        the row

    - #### getColumn

          public int getColumn()

      Returns:
        the column

    - #### getOwner

          public GridWorld getOwner()

      Returns:
        the owner

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `BasicState`

Copyright © 2014. All Rights Reserved.