Class ExponentialLogistic

  • All Implemented Interfaces:
    DemographicFunction

    public class ExponentialLogistic
    extends LogisticGrowth
    This class models logistic growth from an initial exponential phase.
    Version:
    $Id: ExponentialLogistic.java 937 2008-08-08 00:11:32Z rambaut $
    Author:
    Andrew Rambaut, Alexei Drummond
    • Constructor Summary

      Constructors 
      Constructor 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait