net.sourceforge.jabm.evolution
Class CombiBreeder

java.lang.Object
  extended by net.sourceforge.jabm.evolution.CombiBreeder
All Implemented Interfaces:
Breeder

public class CombiBreeder
extends java.lang.Object
implements Breeder

A combination of different breeders which forms a pipeline for producing the next generation.

 

Field Summary
protected  java.util.List<Breeder> breedingPipeline
          The breeding pipeline.
 
Constructor Summary
CombiBreeder()
           
 
Method Summary
 java.util.List<Breeder> getBreedingPipeline()
           
 AgentList reproduce(AgentList currentGeneration)
          Compute the next generation of agents.
 void setBreedingPipeline(java.util.List<Breeder> breedingPipeline)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

breedingPipeline

protected java.util.List<Breeder> breedingPipeline
The breeding pipeline.

Constructor Detail

CombiBreeder

public CombiBreeder()
Method Detail

reproduce

public AgentList reproduce(AgentList currentGeneration)
Description copied from interface: Breeder
Compute the next generation of agents.

Specified by:
reproduce in interface Breeder
Parameters:
currentGeneration - The agents comprising the current generation.
Returns:
An AgentList representing the next generation after reproduction has occurred.

getBreedingPipeline

public java.util.List<Breeder> getBreedingPipeline()

setBreedingPipeline

public void setBreedingPipeline(java.util.List<Breeder> breedingPipeline)