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
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetColumn()GridWorldgetOwner()intgetRow()java.lang.StringtoString()-
Methods inherited from class org.encog.ml.world.basic.BasicState
getPolicyValue, getProperty, getReward, getVisited, increaseVisited, setAllPolicyValues, setPolicyValueSize, setProperty, setReward, setVisited, wasVisited
-
-
-
-
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 java.lang.String toString()
- Overrides:
toStringin classBasicState
-
-
DMelt 3.0 © DataMelt by jWork.ORG