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:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class ec.Breeder

  `sequentialBreeding`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NEATBreeder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Population`
  `breedPopulation(EvolutionState state)`
  This method simply call breedNewPopulation method in NEATSpecies，where all the critical work in done.
  `void`
  `setup(EvolutionState state, Parameter base)`
  Sets up the object by reading it from the parameters stored in state, built off of the parameter base base.

  ### Methods inherited from class ec.Breeder

  `shouldBreedSubpop`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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`