MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
PerseusStationary.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _PERSEUSSTATIONARY_H_
30
#define _PERSEUSSTATIONARY_H_ 1
31
32
/* the include directives */
33
#include "
Globals.h
"
34
#include "
Perseus.h
"
35
37
class
PerseusStationary
:
public
Perseus
38
{
39
private
:
40
41
protected
:
42
44
ValueFunctionPOMDPDiscrete
_m_valueFunction
;
46
QFunctionsDiscrete
_m_qFunction
;
47
49
BeliefSet
*
_m_beliefs
;
50
51
void
StoreValueFunction
(
const
ValueFunctionPOMDPDiscrete
&V);
52
void
StoreValueFunction
(
const
QFunctionsDiscrete
&Q);
53
54
void
InitializeBeliefs
(
int
nrB,
bool
uniquify);
55
56
std::vector<double>
GetImmediateRewardBeliefSet
()
const
;
57
58
public
:
59
// Constructor, destructor and copy assignment.
61
PerseusStationary
(
const
PlanningUnitDecPOMDPDiscrete
& pu);
63
virtual
~PerseusStationary
();
64
66
void
SetBeliefSet
(
const
BeliefSet
&S);
67
69
void
ExportBeliefSet
(
const
std::string &filename)
const
;
70
72
void
SetValueFunction
(
const
std::string &filename);
73
74
ValueFunctionPOMDPDiscrete
GetValueFunction
()
const
75
{
return
(
_m_valueFunction
); }
76
77
QFunctionsDiscrete
GetQFunctions
()
const
78
{
return
(
_m_qFunction
); }
79
80
double
GetQ
(
const
JointBeliefInterface
&b,
Index
jaI)
const
;
81
82
double
GetQ
(
const
JointBeliefInterface
&b,
Index
jaI,
int
&betaMaxI)
const
;
83
84
double
GetQ
(
const
JointBeliefInterface
&b,
Index
t,
Index
jaI)
const
;
85
double
GetQ
(
const
JointBeliefInterface
&b,
Index
t,
Index
jaI,
86
int
&betaMaxI)
const
;
87
88
void
ExportValueFunction
(
const
std::string &filename)
const
;
89
90
};
91
92
93
94
#endif
/* !_PERSEUSSTATIONARY_H_ */
95
96
// Local Variables: ***
97
// mode:c++ ***
98
// End: ***
src
planning
PerseusStationary.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2