massim.competition2009
Class GridSimulationCowAgent2
java.lang.Object
massim.competition2009.GridSimulationCowAgent2
public class GridSimulationCowAgent2
- extends java.lang.Object
this class implements the algorithm of Tristan Behrens at tu-clausthal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
posx
public int posx
posy
public int posy
oldPosX
public int oldPosX
oldPosY
public int oldPosY
direction
public java.lang.String direction
old_direction
public java.lang.String old_direction
actionDone
public boolean actionDone
ID
public java.lang.String ID
cowTurn
public int cowTurn
GridSimulationCowAgent2
public GridSimulationCowAgent2()
computeCowMove
public void computeCowMove(GridSimulationWorldState state)
- compute cow's direction.
- Parameters:
state
-
Copyright © 2011. All Rights Reserved.