Marmote Core
The project aims at realizing the prototype of a software environment dedicated to modeling with Markov chains.
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
homogeneous1DBirthDeath.h
1
/* Marmote is free software: you can redistribute it and/or modify
2
it under the terms of the GNU General Public License as published by
3
the Free Software Foundation, either version 3 of the License, or
4
(at your option) any later version.
5
6
Marmote is distributed in the hope that it will be useful,
7
but WITHOUT ANY WARRANTY; without even the implied warranty of
8
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
GNU General Public License for more details.
10
11
You should have received a copy of the GNU General Public License
12
along with Marmote. If not, see <http://www.gnu.org/licenses/>.
13
14
Copyright 2015 Alain Jean-Marie, Jean-Michel Fourneau, Jean-Marc Vincent, Issam Rabhi */
15
16
#ifndef HOMOGENOUS1DBIRTHDEATH_H
17
#define HOMOGENOUS1DBIRTHDEATH_H
18
19
#include "markovChain.h"
20
#include "Distribution/discreteDistribution.h"
21
#include "Distribution/geometricDistribution.h"
22
31
class
homogeneous1DBirthDeath
:
public
markovChain
32
{
33
protected
:
34
int
_size
;
35
double
*
_stateSpace
;
36
double
_lambda
;
37
double
_mu
;
39
public
:
40
48
homogeneous1DBirthDeath
(
double
lambda,
double
mu );
58
homogeneous1DBirthDeath
(
int
n,
59
double
lambda,
double
mu );
60
61
67
~homogeneous1DBirthDeath
();
68
74
void
makeMarkovChain
();
75
84
discreteDistribution
*
transientDistribution
(
double
t,
int
nMax );
92
discreteDistribution
*
approxTransientDistribution
(
double
t,
int
nMax );
98
geometricDistribution
*
stationaryDistribution
();
104
discreteDistribution
*
stationaryDistribution
(
int
nMax );
105
simulationResult
*
116
simulateChain
(
double
tMax,
117
bool
stats,
bool
traj,
118
bool
withIncrements,
119
bool
trace );
120
121
};
122
123
#endif // HOMOGENOUS1DBIRTHDEATH_H
Generated on Thu May 21 2015 17:06:41 for Marmote Core by
1.8.3.1