public class ExponentialLogistic extends LogisticGrowth
DemographicFunction.Utils| Constructor and Description |
|---|
ExponentialLogistic()
Construct demographic model with default settings
|
ExponentialLogistic(double N0,
double r,
double c,
double time,
double r2)
Construct demographic model with given settings
|
| Modifier and Type | Method and Description |
|---|---|
double |
getArgument(int n)
Returns the value of the nth argument of this function.
|
int |
getArgumentCount()
Returns the number of arguments for this function.
|
java.lang.String |
getArgumentName(int n)
Returns the name of the nth argument of this function.
|
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 |
getLowerBound(int n)
Returns the lower bound of the nth argument of this function.
|
double |
getR2() |
double |
getTime() |
double |
getUpperBound(int n)
Returns the upper bound of the nth argument of this function.
|
boolean |
hasIntegral()
returns whether an analytical expression for the integral is implemented
|
void |
setArgument(int n,
double value)
Sets the value of the nth argument of this function.
|
void |
setR2(double r2) |
void |
setTime(double time) |
getShape, setShape, setTime50getGrowthRate, setDoublingTime, setGrowthRategetN0, setN0public ExponentialLogistic()
public ExponentialLogistic(double N0,
double r,
double c,
double time,
double r2)
N0 - Current population sizer - Logistic-phase growth ratec - Logistic shapetime - Exponential-logistic phase transition timer2 - Exponential-phase growth ratepublic double getR2()
public void setR2(double r2)
public double getTime()
public void setTime(double time)
public double getDemographic(double t)
LogisticGrowthgetDemographic in interface DemographicFunctiongetDemographic in class LogisticGrowtht - the timepublic double getIntensity(double t)
LogisticGrowthgetIntensity in interface DemographicFunctiongetIntensity in class LogisticGrowthpublic double getInverseIntensity(double x)
LogisticGrowthgetInverseIntensity in interface DemographicFunctiongetInverseIntensity in class LogisticGrowthpublic boolean hasIntegral()
DemographicFunctionhasIntegral in interface DemographicFunctionhasIntegral in class LogisticGrowthpublic double getIntegral(double start,
double finish)
ConstantPopulationgetIntegral in interface DemographicFunctiongetIntegral in class LogisticGrowthpublic int getArgumentCount()
DemographicFunctiongetArgumentCount in interface DemographicFunctiongetArgumentCount in class ExponentialGrowthpublic java.lang.String getArgumentName(int n)
DemographicFunctiongetArgumentName in interface DemographicFunctiongetArgumentName in class ExponentialGrowthpublic double getArgument(int n)
DemographicFunctiongetArgument in interface DemographicFunctiongetArgument in class ExponentialGrowthpublic void setArgument(int n,
double value)
DemographicFunctionsetArgument in interface DemographicFunctionsetArgument in class ExponentialGrowthpublic double getLowerBound(int n)
DemographicFunctiongetLowerBound in interface DemographicFunctiongetLowerBound in class ExponentialGrowthpublic double getUpperBound(int n)
DemographicFunctiongetUpperBound in interface DemographicFunctiongetUpperBound in class ExponentialGrowthhttp://code.google.com/p/jebl2/