|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFitnessEvaluation.SantaFeAntTrail.Trail
FitnessEvaluation.SantaFeAntTrail.LosAltosTrail
public class LosAltosTrail
Taken from lib GE and refactored to java
Field Summary | |
---|---|
int[][] |
_trail_la
|
static int |
GRID_HEIGHT
|
static int |
GRID_WIDTH
|
Fields inherited from class FitnessEvaluation.SantaFeAntTrail.Trail |
---|
_current_X, _current_Y, _energy, _facing_current_X, _facing_current_Y, _picked_up, _trail, _working_trail, ANT, EMPTY, food, FOOD |
Constructor Summary | |
---|---|
LosAltosTrail()
Creates a new instance of Trail. |
|
LosAltosTrail(int energy)
Create new instance |
Method Summary |
---|
Methods inherited from class FitnessEvaluation.SantaFeAntTrail.Trail |
---|
food_ahead, get_Energy_Left, get_Energy, get_Picked_Up, getFitness, getFood, left, move, right |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GRID_WIDTH
public static final int GRID_HEIGHT
public int[][] _trail_la
Constructor Detail |
---|
public LosAltosTrail()
public LosAltosTrail(int energy)
energy
- ant stamina
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |