Package ec.vector

Class GeneVectorSpecies

All Implemented Interfaces:
Prototype, Setup, Serializable, Cloneable
Direct Known Subclasses:
NEATSpecies

public class GeneVectorSpecies extends VectorSpecies
GeneVectorSpecies is a subclass of VectorSpecies with special constraints for GeneVectorIndividuals.

At present there is exactly one item stored in GeneVectorSpecies: the prototypical Gene that populates the genome array stored in a GeneVectorIndividual.

See Also:
  • Field Details

  • Constructor Details

    • GeneVectorSpecies

      public GeneVectorSpecies()
  • Method Details

    • setup

      public void setup(EvolutionState state, Parameter base)
      Description copied from class: Species
      The default version of setup(...) loads requested pipelines and calls setup(...) on them and normalizes their probabilities. If your individual prototype might need to know special things about the species (like parameters stored in it), then when you override this setup method, you'll need to set those parameters BEFORE you call super.setup(...), because the setup(...) code in Species sets up the prototype.
      Specified by:
      setup in interface Prototype
      Specified by:
      setup in interface Setup
      Overrides:
      setup in class VectorSpecies
      See Also: