com.epochx.op.initialisation
Interface Initialiser<TYPE>

All Known Implementing Classes:
FullInitialiser, GrowInitialiser, RampedHalfAndHalfInitialiser

public interface Initialiser<TYPE>

Implementations of this interface should be capable of generating an initial population of CandidatePrograms. The getInitialPopulation() method is called towards the start of execution of a run to get the first population which will then be evolved.


Method Summary
 java.util.List<CandidateProgram<TYPE>> getInitialPopulation()
          Construct and return an initial population of CandidatePrograms.
 

Method Detail

getInitialPopulation

java.util.List<CandidateProgram<TYPE>> getInitialPopulation()
Construct and return an initial population of CandidatePrograms. Implementations will typically wish to return a population with a size as given by calling getPopulationSize() on the controlling model.

Returns:
A List of newly generated CandidatePrograms which will form the initial population for a GP run.