|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFitnessEvaluation.InterpretedFitnessEvaluation
FitnessEvaluation.InterpretedFitnessEvaluationBSF
public abstract class InterpretedFitnessEvaluationBSF
Interprets code using the BSF framework (http://jakarta.apache.org/bsf/)
| Field Summary | |
|---|---|
protected org.apache.bsf.BSFManager |
mngr
|
| Constructor Summary | |
|---|---|
InterpretedFitnessEvaluationBSF()
Creates a new instance of InterpretedFitnessEvaluationGr |
|
| Method Summary | |
|---|---|
protected abstract java.lang.String |
createCode(Phenotype p)
Create code by adding header and tail to the evolved input |
double |
runFile(Phenotype p)
Create a header and a tail for the input string. |
| Methods inherited from class FitnessEvaluation.InterpretedFitnessEvaluation |
|---|
canCache, getFitness |
| 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 |
| Field Detail |
|---|
protected final org.apache.bsf.BSFManager mngr
| Constructor Detail |
|---|
public InterpretedFitnessEvaluationBSF()
| Method Detail |
|---|
protected abstract java.lang.String createCode(Phenotype p)
p - input
public double runFile(Phenotype p)
runFile in class InterpretedFitnessEvaluationp - the input to be evaluated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||