org.primordion.ealontro.ec.app.antforaging
Class AntForaging
java.lang.Object
ec.Problem
ec.gp.GPProblem
org.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
| Fields inherited from class ec.gp.GPProblem |
data, P_GPPROBLEM, P_STACK, stack |
| Fields inherited from class ec.Problem |
P_PROBLEM |
|
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 |
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
AntForaging
public AntForaging()
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