|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFitnessEvaluation.SymbolicRegression.SymbolicRegressionInterpreter
public class SymbolicRegressionInterpreter
Interpreter for symbolic regression.
Constructor Summary | |
---|---|
SymbolicRegressionInterpreter()
|
Method Summary | |
---|---|
void |
calculateTarget(java.lang.String target)
Calcualte the value of the target function for each data point in the sample. |
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. |
Range |
getRange()
|
RandomNumberGenerator |
getRNG()
Get the number generator |
void |
setProperties(java.util.Properties p)
Set properties |
void |
setRange(Range range)
|
void |
setRNG(RandomNumberGenerator m)
Set the number generator |
void |
setSamples(double[][] samples)
|
void |
setX(double[] x)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SymbolicRegressionInterpreter()
Method Detail |
---|
public Range getRange()
public void setRange(Range range)
public void calculateTarget(java.lang.String target)
target
- target function in prefix notationpublic void setProperties(java.util.Properties p)
ParameterI
setProperties
in interface ParameterI
p
- object containing propertiespublic RandomNumberGenerator getRNG()
Stochastic
getRNG
in interface Stochastic
public void setRNG(RandomNumberGenerator m)
Stochastic
setRNG
in interface Stochastic
m
- number generatorpublic void getFitness(Individual ind)
getFitness
in interface FitnessFunction
ind
- Individual that will be evaluated and assigned fitnesspublic boolean canCache()
FitnessFunction
canCache
in interface FitnessFunction
public void setSamples(double[][] samples)
public void setX(double[] x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |