Package ec.neat

Class NEATBreeder

java.lang.Object
ec.Breeder
ec.neat.NEATBreeder
All Implemented Interfaces:
Setup, Singleton, Serializable

public class NEATBreeder extends Breeder
NEATBreeder is a Breeder which overrides the breedPopulation method to first mark the individuals in each subspecies that are allow to reproduce, and replace the population with new individuals in each subspecies. All the heavy lifting is done in NEATSpecies and NEATSubspecies, not here.
See Also:
  • Constructor Details

    • NEATBreeder

      public NEATBreeder()
  • Method Details

    • setup

      public void setup(EvolutionState state, Parameter base)
      Description copied from interface: Setup
      Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else.
    • breedPopulation

      public Population breedPopulation(EvolutionState state)
      This method simply call breedNewPopulation method in NEATSpecies,where all the critical work in done.
      Specified by:
      breedPopulation in class Breeder