16 #ifndef MULTIDIMHOMTRANSITION_H
17 #define MULTIDIMHOMTRANSITION_H
19 #include "transitionStructure.h"
79 int dimSize(
int d) {
return _dimSize[d]; };
85 double p(
int d) {
return _p[d]; };
91 double q(
int d) {
return _q[d]; };
95 bool setEntry(
int i,
int j,
double val);
96 double getEntry(
int i,
int j);
98 int getCol(
int i,
int k);
99 double getEntryByCol(
int i,
int k);
101 double rowSum(
int i);
105 void evaluateMeasure(
double* d,
double* res);
107 void evaluateValue(
double* v,
double* res);
108 void write(FILE* out,
string format);
116 void decodeState(
int index,
int* buf );
117 void nextState(
int* buf );
118 void decodeTransitions(
int index );
122 #endif // MULTIDIMHOMTRANSITION_H
int * _dimSize
size of the state space in each dimension
Definition: multiDimHomTransition.h:42
double p(int d)
Read accessor for the jump probability to the right in each dimension.
Definition: multiDimHomTransition.h:85
Utilization of the Standard Template Library.
int _nbDims
the number of dimensions
Definition: multiDimHomTransition.h:41
double * _p
probas to jump to the right in each dimension
Definition: multiDimHomTransition.h:43
int dimSize(int d)
Read accessor for the size of the state space in each dimension.
Definition: multiDimHomTransition.h:79
Abstract class for transition structures. These are structures which describe transitions to one stat...
Definition: transitionStructure.h:33
Class for multidimensional, homogeneous random walk transition structures. These are characterized by...
Definition: multiDimHomTransition.h:38
The general discrete distribution with finite support.
Definition: discreteDistribution.h:25
double q(int d)
Read accessor for the jump probability to the right in each dimension.
Definition: multiDimHomTransition.h:91
double * _q
probas to jump to the left in each dimension
Definition: multiDimHomTransition.h:44