|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpalta.multitree.MultiTreePopulation
public class MultiTreePopulation
A Population composed of MultiTreeIndividuals.
Constructor Summary | |
---|---|
MultiTreePopulation()
|
Method Summary | |
---|---|
void |
doSelection(IndSelector sel)
Perform Individual selection |
void |
eval(MultiThreadedEvaluator evaluator,
Fitness f,
TempVectorFactory tempVectorFactory,
ProblemData problemData,
int[] wSamples)
Evaluate every Individual and calculate their fitness |
void |
evolve(TreeOperator treeOp,
TempVectorFactory tempVectorFactory,
ProblemData problemData)
Apply genetic operators |
Individual |
get(int which)
Get a certain individual |
LowLevelMultiTreeOperator[] |
getOperatorStats()
|
Output |
getProcessedOutput(Individual ind,
Fitness f,
TempVectorFactory tempVectorFactory,
ProblemData problemData)
|
Output |
getRawOutput(Individual ind,
TempVectorFactory tempVectorFactory,
ProblemData problemData)
Get the output directly from the Individual, without further processing |
void |
init(Config config,
ProblemData problemData,
TreeBuilder builder,
TreeOperator treeOp)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiTreePopulation()
Method Detail |
---|
public void eval(MultiThreadedEvaluator evaluator, Fitness f, TempVectorFactory tempVectorFactory, ProblemData problemData, int[] wSamples)
Population
eval
in interface Population
public Output getRawOutput(Individual ind, TempVectorFactory tempVectorFactory, ProblemData problemData)
Population
getRawOutput
in interface Population
public Output getProcessedOutput(Individual ind, Fitness f, TempVectorFactory tempVectorFactory, ProblemData problemData)
getProcessedOutput
in interface Population
public Individual get(int which)
Population
get
in interface Population
which
- The individual to getpublic void init(Config config, ProblemData problemData, TreeBuilder builder, TreeOperator treeOp)
init
in interface Population
public void doSelection(IndSelector sel)
Population
doSelection
in interface Population
public void evolve(TreeOperator treeOp, TempVectorFactory tempVectorFactory, ProblemData problemData)
Population
evolve
in interface Population
public LowLevelMultiTreeOperator[] getOperatorStats()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |