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 |
GridState(GridWorld theOwner,
int theRow,
int theColumn,
boolean blocked)
|
Methods inherited from class org.encog.ml.world.basic.BasicState |
getPolicyValue, getProperty, getReward, getVisited, increaseVisited, setAllPolicyValues, setPolicyValueSize, setProperty, setReward, setVisited, wasVisited |
GridState
public GridState(GridWorld theOwner,
int theRow,
int theColumn,
boolean blocked)
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.