|
||||||||||
| 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 Darwinian Systems.
| 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. |
| 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||