|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjebl.evolution.coalescent.ConstantPopulation
jebl.evolution.coalescent.ExponentialGrowth
jebl.evolution.coalescent.LogisticGrowth
public class LogisticGrowth
This class models logistic growth.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jebl.evolution.coalescent.DemographicFunction |
|---|
DemographicFunction.Utils |
| Constructor Summary | |
|---|---|
LogisticGrowth()
Construct demographic model with default settings |
|
LogisticGrowth(double N0,
double r,
double c)
Construct demographic model with given settings |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class jebl.evolution.coalescent.ExponentialGrowth |
|---|
getArgument, getArgumentCount, getArgumentName, getGrowthRate, getLowerBound, getUpperBound, setArgument, setDoublingTime, setGrowthRate |
| Methods inherited from class jebl.evolution.coalescent.ConstantPopulation |
|---|
getN0, setN0 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogisticGrowth()
public LogisticGrowth(double N0,
double r,
double c)
| Method Detail |
|---|
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 time
public double getIntensity(double t)
getIntensity in interface DemographicFunctiongetIntensity in class ExponentialGrowthpublic double getInverseIntensity(double x)
getInverseIntensity in interface DemographicFunctiongetInverseIntensity in class ExponentialGrowthpublic boolean hasIntegral()
DemographicFunction
hasIntegral in interface DemographicFunctionhasIntegral in class ConstantPopulation
public double getIntegral(double start,
double finish)
ConstantPopulation
getIntegral in interface DemographicFunctiongetIntegral in class ConstantPopulation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||