public interface PopulationGrowth extends NecessaryResult
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CONTENT |
EMPTY_STRING_ARRAY
Modifier and Type | Method and Description |
---|---|
double |
compute(SimulationContext context,
double age,
PopulationGroup group)
Compute growth equation.
|
getNecessaryResult
static final String DEFAULT_CONTENT
double compute(SimulationContext context, double age, PopulationGroup group) throws Exception
context
- simulation contextage
- l'age du groupe en moisgroup
- le groupe dont on souhaite avoir la longueur en fonction de l'ageException
Copyright © 1999–2020 CodeLutin. All rights reserved.