16 #ifndef HOMOGENOUS1DBIRTHDEATH_H
17 #define HOMOGENOUS1DBIRTHDEATH_H
19 #include "markovChain.h"
20 #include "Distribution/discreteDistribution.h"
21 #include "Distribution/geometricDistribution.h"
59 double lambda,
double mu );
117 bool stats,
bool traj,
123 #endif // HOMOGENOUS1DBIRTHDEATH_H
Markov Chain class.
Definition: markovChain.h:32
discreteDistribution * transientDistribution(double t, int nMax)
Computes the transient distribution for a homogeneous1DBirthDeath chain.
Definition: homogeneous1DBirthDeath.cpp:118
The 1-dimensional birth and death process with homogeneous transition rates. This model is characteri...
Definition: homogeneous1DBirthDeath.h:31
~homogeneous1DBirthDeath()
Destructor for a homogeneous1DBirthDeath chain.
Definition: homogeneous1DBirthDeath.cpp:58
discreteDistribution * approxTransientDistribution(double t, int nMax)
Computes the transient distribution for a homogeneous1DBirthDeath chain.
Definition: homogeneous1DBirthDeath.cpp:84
int _size
the number of states; possibly infinite
Definition: homogeneous1DBirthDeath.h:34
double * _stateSpace
representation of the state space when finite
Definition: homogeneous1DBirthDeath.h:35
The geometric distribution with starting value 0. The parameter "p" is called "ratio".
Definition: geometricDistribution.h:27
geometricDistribution * stationaryDistribution()
Computes the stationary distribution for a homogeneous1DBirthDeath chain.
Definition: homogeneous1DBirthDeath.cpp:155
double _mu
Definition: homogeneous1DBirthDeath.h:37
simulationResult * simulateChain(double tMax, bool stats, bool traj, bool withIncrements, bool trace)
Definition: homogeneous1DBirthDeath.cpp:203
double _lambda
Definition: homogeneous1DBirthDeath.h:36
The general discrete distribution with finite support.
Definition: discreteDistribution.h:25
The class for transmitting (Monte Carlo) simulation results between objects. Simulation results may b...
Definition: simulationResult.h:18
homogeneous1DBirthDeath(double lambda, double mu)
Constructor for a homogeneous1DBirthDeath chain with infinite state space.
Definition: homogeneous1DBirthDeath.cpp:30
void makeMarkovChain()
Definition: homogeneous1DBirthDeath.cpp:66