ec.gp
Class GPSteadyStateSpecies

java.lang.Object
  |
  +--ec.Species
        |
        +--ec.gp.GPSpecies
              |
              +--ec.gp.GPSteadyStateSpecies
All Implemented Interfaces:
java.lang.Cloneable, GPSpeciesForm, Prototype, java.io.Serializable, Setup, SteadyStateSpeciesForm

public class GPSteadyStateSpecies
extends GPSpecies
implements SteadyStateSpeciesForm

GPSteadyStateSpecies is a subclass of GPSpecies which implements the SteadyStateSpeciesForm; this basically means it provides a deselector to pick individuals to die.

Default Base
gp.steady-state-species

See Also:
Serialized Form

Field Summary
 SelectionMethod deselector
           
static java.lang.String P_GPSTEADYSTATESPECIES
           
 
Fields inherited from class ec.gp.GPSpecies
P_GPSPECIES
 
Fields inherited from class ec.Species
i_prototype, P_INDIVIDUAL, P_PIPE, pipe_prototype
 
Fields inherited from interface ec.steadystate.SteadyStateSpeciesForm
P_DESELECTOR
 
Constructor Summary
GPSteadyStateSpecies()
           
 
Method Summary
 Parameter defaultBase()
          Returns the default base for this prototype.
 SelectionMethod deselector()
          Returns the selection method to be used for deselecting individuals in subpopulations of this species.
 void setup(EvolutionState state, Parameter base)
          The default version of setup(...) loads requested pipelines and calls setup(...) on them and normalizes their probabilities.
 
Methods inherited from class ec.gp.GPSpecies
newIndividual, newIndividual
 
Methods inherited from class ec.Species
protoClone, protoCloneSimple
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_GPSTEADYSTATESPECIES

public static final java.lang.String P_GPSTEADYSTATESPECIES

deselector

public SelectionMethod deselector
Constructor Detail

GPSteadyStateSpecies

public GPSteadyStateSpecies()
Method Detail

defaultBase

public Parameter defaultBase()
Description copied from interface: Prototype
Returns the default base for this prototype. This should generally be implemented by building off of the static base() method on the DefaultsForm object for the prototype's package. This should be callable during setup(...).
Overrides:
defaultBase in class GPSpecies

deselector

public SelectionMethod deselector()
Description copied from interface: SteadyStateSpeciesForm
Returns the selection method to be used for deselecting individuals in subpopulations of this species. By "deselecting", we mean choosing individuals for removal from the population, to be replaced with newly-bred individuals.
Specified by:
deselector in interface SteadyStateSpeciesForm

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.
Overrides:
setup in class GPSpecies
Following copied from class: ec.Species
See Also:
Prototype.setup(EvolutionState,Parameter)