|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFitnessEvaluation.ParityProblem.BooleanInterpreter
public class BooleanInterpreter
Interpreter for parity problems.
Constructor Summary | |
---|---|
BooleanInterpreter()
|
|
BooleanInterpreter(int size)
|
|
BooleanInterpreter(java.util.Properties p)
|
Method Summary | |
---|---|
boolean |
canCache()
Return true if it is ok to cache the results of the fitness function |
void |
getFitness(Individual ind)
Split the phenotype of the individual. |
void |
setInfix(boolean infix)
|
void |
setParities(int size)
|
void |
setParitiesValues(int size)
|
void |
setProperties(java.util.Properties p)
Set properties |
void |
setRevesePolish(ReversePolish revesePolish)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BooleanInterpreter()
public BooleanInterpreter(java.util.Properties p)
public BooleanInterpreter(int size)
Method Detail |
---|
public void setProperties(java.util.Properties p)
ParameterI
setProperties
in interface ParameterI
p
- object containing propertiespublic void setParitiesValues(int size)
public void setParities(int size)
public void getFitness(Individual ind)
getFitness
in interface FitnessFunction
ind
- Individual that will be evaluated and assigned fitnesspublic void setRevesePolish(ReversePolish revesePolish)
public void setInfix(boolean infix)
public boolean canCache()
FitnessFunction
canCache
in interface FitnessFunction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |