|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Population
Holds the problem's Individuals. It must evaluate them and organize them for selection and evolution. Most applications should use SingleTreePopulation
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 |
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)
|
Method Detail |
---|
void eval(MultiThreadedEvaluator evaluator, Fitness f, TempVectorFactory tempVectorFactory, ProblemData problemData, int[] wSamples)
evaluator
- f
- tempVectorFactory
- problemData
- Output getRawOutput(Individual ind, TempVectorFactory tempVectorFactory, ProblemData problemData)
Output getProcessedOutput(Individual ind, Fitness f, TempVectorFactory tempVectorFactory, ProblemData problemData)
Individual get(int which)
which
- The individual to getvoid init(Config config, ProblemData problemData, TreeBuilder builder, TreeOperator treeOp)
void doSelection(IndSelector sel)
sel
- void evolve(TreeOperator treeOp, TempVectorFactory tempVectorFactory, ProblemData problemData)
treeOp
- tempVectorFactory
- problemData
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |