Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## FitnessEvaluation.SantaFeAntTrail
Class LosAltosTrail

    java.lang.Object
      FitnessEvaluation.SantaFeAntTrail.Trail
          FitnessEvaluation.SantaFeAntTrail.LosAltosTrail

    public class LosAltosTrail

extends Trail

Taken from lib GE and refactored to java

Author:
  erikhemberg

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

### GRID_WIDTH

    public static final int GRID_WIDTH

See Also:
  Constant Field Values

### GRID_HEIGHT

    public static final int GRID_HEIGHT

See Also:
  Constant Field Values

### _trail_la

    public int[][] _trail_la

Constructor Detail

### LosAltosTrail

    public LosAltosTrail()

  Creates a new instance of Trail. Calling initGEtrail with 600

### LosAltosTrail

    public LosAltosTrail(int energy)

  Create new instance

  Parameters:
    `energy` - ant stamina

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD