com.epochx.life
Interface ReproductionListener<TYPE>

All Known Subinterfaces:
LifeCycleListener<TYPE>
All Known Implementing Classes:
CubicRegression, Even4Parity, Even5Parity, Even7Parity, GPAbstractModel, Majority5, Majority9, Multiplexer11Bit, Multiplexer20Bit, Multiplexer37Bit, Multiplexer6Bit, QuarticRegression, SantaFeTrail

public interface ReproductionListener<TYPE>


Method Summary
 CandidateProgram<TYPE> onReproduction(CandidateProgram<TYPE> child)
          Called after selection of an individual to be reproduced into the next generation.
 

Method Detail

onReproduction

CandidateProgram<TYPE> onReproduction(CandidateProgram<TYPE> child)
Called after selection of an individual to be reproduced into the next generation.

Parameters:
child - the program that was selected to be reproduced.
Returns:
a CandidateProgram that should be used as the reproduced program and inserted into the next population.