|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFitnessEvaluation.SantaFeAntTrail.SantaFeAntTrailInterpreter
public class SantaFeAntTrailInterpreter
Too run the interpreter the -trail_type needs to be provided FIXME parse the phenotype to a tree instead of using lookahead
Constructor Summary | |
---|---|
SantaFeAntTrailInterpreter()
|
Method Summary | |
---|---|
boolean |
canCache()
Return true if it is ok to cache the results of the fitness function |
void |
getFitness(Individual individual)
Calculate the fitness for the individual by interpreting the the phenotype |
void |
setProperties(java.util.Properties p)
Set properties |
void |
setTrail_type(java.lang.String trail_type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SantaFeAntTrailInterpreter()
Method Detail |
---|
public void setTrail_type(java.lang.String trail_type)
public void getFitness(Individual individual)
getFitness
in interface FitnessFunction
individual
- Evaluated individualpublic boolean canCache()
FitnessFunction
canCache
in interface FitnessFunction
public void setProperties(java.util.Properties p)
ParameterI
setProperties
in interface ParameterI
p
- object containing properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |