|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFitnessEvaluation.MaxProblem.MaxProblemInterpreter
public class MaxProblemInterpreter
This problem tries to generate the largest number possible from with a given terminal and functional set and with a depth limit. Despite seeming to be a simple problem the fitness landscape is deceptive and leads to suboptimal solutions. Even though the problem tries to generate the largest number the fitness is still minimised. It is based on as Interpreter for symbolic regression by Erik Hemberg.
| Constructor Summary | |
|---|---|
MaxProblemInterpreter()
|
|
| 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. |
double |
getMaxValue()
|
RandomNumberGenerator |
getRNG()
Get the number generator |
void |
setMaxProblemDepth(int maxProblemDepth)
|
void |
setMaxValue()
|
void |
setProperties(java.util.Properties p)
Set properties |
void |
setRNG(RandomNumberGenerator m)
Set the number generator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaxProblemInterpreter()
| Method Detail |
|---|
public void setProperties(java.util.Properties p)
ParameterI
setProperties in interface ParameterIp - object containing propertiespublic RandomNumberGenerator getRNG()
Stochastic
getRNG in interface Stochasticpublic void setRNG(RandomNumberGenerator m)
Stochastic
setRNG in interface Stochasticm - number generatorpublic double getMaxValue()
public void getFitness(Individual ind)
getFitness in interface FitnessFunctionind - Individual that will be evaluated and assigned fitnesspublic boolean canCache()
FitnessFunction
canCache in interface FitnessFunctionpublic void setMaxProblemDepth(int maxProblemDepth)
public void setMaxValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||