|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFitnessEvaluation.InterpretedFitnessEvaluation
public abstract class InterpretedFitnessEvaluation
Abstract class for interpreting generated code, instead of compiling
| Constructor Summary | |
|---|---|
InterpretedFitnessEvaluation()
Creates a new instance of InterpretedFitnessEvaluation |
|
| Method Summary | |
|---|---|
boolean |
canCache()
Return true if it is ok to cache the results of the fitness function |
void |
getFitness(Individual i)
Evaluate an individual and set the fitness |
abstract double |
runFile(Phenotype p)
Run the phenotype and return the fitness |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Parameter.ParameterI |
|---|
setProperties |
| Constructor Detail |
|---|
public InterpretedFitnessEvaluation()
| Method Detail |
|---|
public abstract double runFile(Phenotype p)
p - input
public void getFitness(Individual i)
getFitness in interface FitnessFunctioni - input to evaluatepublic boolean canCache()
FitnessFunction
canCache in interface FitnessFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||