MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
ObservationModelDiscrete.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _OBSERVATIONMODELDISCRETE_H_
30
#define _OBSERVATIONMODELDISCRETE_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
ObservationModel.h
"
36
38
class
ObservationModelDiscrete
:
public
ObservationModel
39
{
40
private
:
41
43
int
_m_nrStates
;
45
int
_m_nrJointActions
;
47
int
_m_nrJointObservations
;
48
49
protected
:
50
51
public
:
53
ObservationModelDiscrete
(
int
nrS = 1,
int
nrJA = 1,
int
nrJO = 1);
54
56
virtual
~ObservationModelDiscrete
();
57
59
virtual
double
Get
(
Index
ja_i,
Index
suc_s_i,
Index
jo_i)
const
= 0;
60
61
//data manipulation funtions:
63
68
virtual
void
Set
(
Index
ja_i,
Index
suc_s_i,
Index
jo_i,
double
prob
) = 0;
69
71
Index
SampleJointObservation
(
Index
jaI,
Index
sucI);
72
74
virtual
ObservationModelDiscrete
*
Clone
()
const
= 0;
75
77
std::string
SoftPrint
()
const
;
78
};
79
80
81
#endif
/* !_OBSERVATIONMODELDISCRETE_H_ */
82
83
// Local Variables: ***
84
// mode:c++ ***
85
// End: ***
src
base
ObservationModelDiscrete.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2