MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
TransitionModelDiscrete.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _TRANSITIONMODELDISCRETE_H_
30
#define _TRANSITIONMODELDISCRETE_H_ 1
31
32
/* the include directives */
33
#include <boost/numeric/ublas/matrix.hpp>
34
#include "
Globals.h
"
35
#include "
TransitionModel.h
"
36
38
class
TransitionModelDiscrete
:
public
TransitionModel
39
{
40
private
:
41
43
int
_m_nrStates
;
45
int
_m_nrJointActions
;
46
47
protected
:
48
49
public
:
50
// Constructor, destructor and copy assignment.
52
TransitionModelDiscrete
(
int
nrS = 1,
int
nrJA = 1);
53
54
virtual
~TransitionModelDiscrete
();
55
57
virtual
double
Get
(
Index
sI,
Index
jaI,
Index
sucSI)
const
= 0;
58
59
//data manipulation funtions:
61
65
virtual
void
Set
(
Index
sI,
Index
jaI,
Index
sucSI,
double
prob
) = 0;
66
68
Index
SampleSuccessorState
(
Index
sI,
Index
jaI);
69
71
virtual
TransitionModelDiscrete
*
Clone
()
const
= 0;
72
74
std::string
SoftPrint
()
const
;
75
};
76
77
#endif
/* !_TRANSITIONMODELDISCRETE_H_ */
78
79
80
// Local Variables: ***
81
// mode:c++ ***
82
// End: ***
src
base
TransitionModelDiscrete.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2