public class LogisticGrowth extends ExponentialGrowth
DemographicFunction.Utils| Constructor and Description |
|---|
LogisticGrowth()
Construct demographic model with default settings
|
LogisticGrowth(double N0,
double r,
double c)
Construct demographic model with given settings
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDemographic(double t)
Gets the value of the demographic function N(t) at time t.
|
double |
getIntegral(double start,
double finish)
Calculates the integral 1/N(x) dx between start and finish.
|
double |
getIntensity(double t)
Returns value of demographic intensity function at time t
(= integral 1/N(x) dx from 0 to t).
|
double |
getInverseIntensity(double x)
Returns value of demographic intensity function at time t
(= integral 1/N(x) dx from 0 to t).
|
double |
getShape() |
boolean |
hasIntegral()
returns whether an analytical expression for the integral is implemented
|
void |
setShape(double value) |
void |
setTime50(double time50)
An alternative parameterization of this model.
|
getArgument, getArgumentCount, getArgumentName, getGrowthRate, getLowerBound, getUpperBound, setArgument, setDoublingTime, setGrowthRategetN0, setN0public LogisticGrowth()
public LogisticGrowth(double N0,
double r,
double c)
public void setShape(double value)
public double getShape()
public void setTime50(double time50)
public double getDemographic(double t)
getDemographic in interface DemographicFunctiongetDemographic in class ExponentialGrowtht - the timepublic double getIntensity(double t)
getIntensity in interface DemographicFunctiongetIntensity in class ExponentialGrowthpublic double getInverseIntensity(double x)
getInverseIntensity in interface DemographicFunctiongetInverseIntensity in class ExponentialGrowthpublic boolean hasIntegral()
DemographicFunctionhasIntegral in interface DemographicFunctionhasIntegral in class ConstantPopulationpublic double getIntegral(double start,
double finish)
ConstantPopulationgetIntegral in interface DemographicFunctiongetIntegral in class ConstantPopulationhttp://code.google.com/p/jebl2/