|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epochx.op.initialisation.FullInitialiser<TYPE>
public class FullInitialiser<TYPE>
Initialisation implementation which produces full program trees.
| Constructor Summary | |
|---|---|
FullInitialiser(GPModel<TYPE> model)
Constructor for the full initialiser. |
|
| Method Summary | |
|---|---|
Node<TYPE> |
buildFullNodeTree(int depth)
Build a full node tree with a given depth. |
java.util.List<CandidateProgram<TYPE>> |
getInitialPopulation()
Generate a population of new CandidatePrograms constructed from the function and terminal sets defined by the model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FullInitialiser(GPModel<TYPE> model)
model - The current controlling model. Run parameters such as the
population size will be obtained from this.| Method Detail |
|---|
public java.util.List<CandidateProgram<TYPE>> getInitialPopulation()
getInitialPopulation in interface Initialiser<TYPE>public Node<TYPE> buildFullNodeTree(int depth)
depth - The depth of the full node tree, where the depth is the
number of nodes from the root.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||