|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Mortality
Defines how mortality is calculated for individual objects (organisms) in Taxons.
| Method Summary | |
|---|---|
double |
calculateMortality(int age,
double fitness,
double saturation)
Method to calculate the mortality for an organism of a given age and fitness in an environment. |
boolean |
isMarked(double mortality)
|
| Method Detail |
|---|
double calculateMortality(int age,
double fitness,
double saturation)
age - the age of the organism in generations.fitness - the fitness of the organism for an environment.saturation - a measure of the current population saturation (1 corresponds
to the ideal population supportable by the environment.
boolean isMarked(double mortality)
mortality - the probability that an organism will die before the next
generation (a value between 0 and 1).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||