function
Interface ReproductionFunctionModel

All Known Implementing Classes:
RouletteReproductionFunctionModel

public interface ReproductionFunctionModel

Reproduction function interface


Method Summary
 void generateNewPopulation()
          Starts Reproduction
 Population getNewPopulation()
          Return population after reproduction
 Population getOldPopulation()
          Return population before reproduction
 void setOldPopulation(Population oldPopulation)
          Set Population which will be reproduct
 

Method Detail

getOldPopulation

Population getOldPopulation()
Return population before reproduction

Returns:
reference to population
See Also:
Population

getNewPopulation

Population getNewPopulation()
Return population after reproduction

Returns:
Reference to population
See Also:
Population

setOldPopulation

void setOldPopulation(Population oldPopulation)
Set Population which will be reproduct

Parameters:
oldPopulation - Reference to population

generateNewPopulation

void generateNewPopulation()
Starts Reproduction