Class SpeciesUpdate
Object
SpeciesUpdate
The implementation of species updates for multi-species modules. Species
updates determine how the focal species is selected before the corresponding
population update is applied within that species.
- Author:
- Christoph Hauert
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumTypes of species updates (only relevant for multi-species models): size focal species selected proportional to their size fitness focal species selected proportional to their total fitness turns one species is selected after another. sync simultaneous updates of all species (not yet implemented). For size and fitness selection is also proportional to the update rate of each species. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpeciesUpdate(Module<?> module) Instantiate new population update for use in IBSmodels. -
Method Summary
Modifier and TypeMethodDescriptiongetType()Gets the population update type.booleansetType(SpeciesUpdate.Type type) Sets the population update type.toString()
-
Field Details
-
module
Module<?> moduleThe module that is using this species update. -
type
-
clo
Command line option to set the method for updating the population(s).- See Also:
-
-
Constructor Details
-
SpeciesUpdate
Instantiate new population update for use in IBSmodels.- Parameters:
module- the module using this species update
-
-
Method Details
-
setType
Sets the population update type.- Parameters:
type- the updating type for the population- Returns:
trueif population update type changed
-
getType
Gets the population update type.- Returns:
- the population update type
-
toString
-