MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
ProblemDecTiger.h
Go to the documentation of this file.
1
28
#ifndef _PROBLEMDECTIGER_H_
29
#define _PROBLEMDECTIGER_H_ 1
30
31
/* the include directives */
32
33
#include <iostream>
34
#include <string>
35
36
#include "
DecPOMDPDiscrete.h
"
37
#include "
ActionDiscrete.h
"
38
#include "
JointActionDiscrete.h
"
39
#include "
ObservationDiscrete.h
"
40
#include "
JointObservationDiscrete.h
"
41
43
45
class
ProblemDecTiger
:
public
DecPOMDPDiscrete
46
{
47
private
:
48
49
/* aliases */
50
typedef
std::vector<ActionDiscrete>
ActionIVec
;
51
typedef
std::vector<ObservationDiscrete>
ObservationIVec
;
52
53
/* constants */
54
const
size_t
NUMBER_OF_STATES
;
55
const
size_t
NUMBER_OF_AGENTS
;
56
const
size_t
NUMBER_OF_OBSERVATIONS
;
57
const
size_t
NUMBER_OF_ACTIONS
;
58
59
enum
state_enum
{
60
SLEFT
,
61
SRIGHT
62
};
63
64
enum
action_enum
{
65
LISTEN
,
66
OPENLEFT
,
67
OPENRIGHT
68
};
69
70
enum
jointAction_enum
{
71
LISTEN_LISTEN
,
72
LISTEN_OPENLEFT
,
73
LISTEN_OPENRIGHT
,
74
OPENLEFT_LISTEN
,
75
OPENLEFT_OPENLEFT
,
76
OPENLEFT_OPENRIGHT
,
77
OPENRIGHT_LISTEN
,
78
OPENRIGHT_OPENLEFT
,
79
OPENRIGHT_OPENRIGHT
80
};
81
82
enum
observation_enum
{
83
HEARLEFT
,
84
HEARRIGHT
85
};
86
87
enum
jointObservation_enum
{
88
HEARLEFT_HEARLEFT
,
89
HEARLEFT_HEARRIGHT
,
90
HEARRIGHT_HEARLEFT
,
91
HEARRIGHT_HEARRIGHT
92
};
93
95
void
ConstructActions
();
97
void
ConstructObservations
();
99
void
FillTransitionModel
();
101
void
FillObservationModel
();
103
void
FillRewardModel
();
104
105
protected
:
106
public
:
107
// constructors etc.
109
ProblemDecTiger
();
111
~ProblemDecTiger
();
112
113
};
114
115
#endif
116
117
// Local Variables: ***
118
// mode:c++ ***
119
// End: ***
src
support
ProblemDecTiger.h
Generated on Mon Sep 23 2013 14:50:06 for MultiAgentDecisionProcess by
1.8.1.2