org.primordion.ealontro.ec.app.antforaging
Class AntForaging

java.lang.Object
  extended byec.Problem
      extended byec.gp.GPProblem
          extended byorg.primordion.ealontro.ec.app.antforaging.AntForaging
All Implemented Interfaces:
java.lang.Cloneable, ec.Prototype, java.io.Serializable, ec.Setup, ec.simple.SimpleProblemForm

public class AntForaging
extends ec.gp.GPProblem
implements ec.simple.SimpleProblemForm

See Also:
Serialized Form

Field Summary
 BooleanData input
           
 int maxMoves
           
static java.lang.String P_DATA
           
static java.lang.String P_MOVES
           
 
Fields inherited from class ec.gp.GPProblem
data, P_GPPROBLEM, P_STACK, stack
 
Fields inherited from class ec.Problem
P_PROBLEM
 
Constructor Summary
AntForaging()
           
 
Method Summary
 java.lang.Object clone()
           
 void evaluate(ec.EvolutionState state, ec.Individual ind, int threadnum)
           
 void setup(ec.EvolutionState state, ec.util.Parameter base)
           
 
Methods inherited from class ec.gp.GPProblem
defaultBase, describe
 
Methods inherited from class ec.Problem
closeContacts, finishEvaluating, initializeContacts, prepareToEvaluate, reinitializeContacts
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ec.simple.SimpleProblemForm
describe
 

Field Detail

P_DATA

public static final java.lang.String P_DATA
See Also:
Constant Field Values

P_MOVES

public static final java.lang.String P_MOVES
See Also:
Constant Field Values

input

public BooleanData input

maxMoves

public int maxMoves
Constructor Detail

AntForaging

public AntForaging()
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface ec.Prototype

setup

public void setup(ec.EvolutionState state,
                  ec.util.Parameter base)
Specified by:
setup in interface ec.Prototype

evaluate

public void evaluate(ec.EvolutionState state,
                     ec.Individual ind,
                     int threadnum)
Specified by:
evaluate in interface ec.simple.SimpleProblemForm