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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
P_GPSTEADYSTATESPECIES
public static final java.lang.String P_GPSTEADYSTATESPECIES
deselector
public SelectionMethod deselector
GPSteadyStateSpecies
public GPSteadyStateSpecies()
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)