MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
JESPExhaustivePlanner.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _JESPEXHAUSTIVEPLANNER_H_
30
#define _JESPEXHAUSTIVEPLANNER_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
PlanningUnitDecPOMDPDiscrete.h
"
36
#include "
ValueFunctionDecPOMDPDiscrete.h
"
37
#include "
JointPolicyPureVector.h
"
38
#include "
JointPolicy.h
"
39
41
43
class
JESPExhaustivePlanner
:
public
PlanningUnitDecPOMDPDiscrete
44
{
45
private
:
46
//the best found policy
47
JointPolicyPureVector
_m_foundPolicy
;
48
//the expected reward of the best found policy
49
double
_m_expectedRewardFoundPolicy
;
50
//intermediate result from ExhaustiveBestResponse
51
//JointPolicyPureVector _m_exhBRBestPol;
52
protected
:
53
54
public
:
55
56
// Constructor, destructor and copy assignment.
57
// (default) Constructor
58
//JESPExhaustivePlanner();
59
JESPExhaustivePlanner
(
60
const
PlanningUnitMADPDiscreteParameters
¶ms,
61
size_t
horizon,
DecPOMDPDiscreteInterface
* p);
62
JESPExhaustivePlanner
(
int
horizon,
DecPOMDPDiscreteInterface
* p);
63
64
//operators:
65
66
//data manipulation (set) functions:
69
void
Plan
();
70
double
ExhaustiveBestResponse
(
JointPolicyPureVector
* jpol,
int
agentI);
71
72
//get (data) functions:
73
JointPolicy
*
GetJointPolicy
(
void
)
74
{
return
(&
_m_foundPolicy
); }
75
JointPolicyDiscrete
*
GetJointPolicyDiscrete
(
void
)
76
{
return
(&
_m_foundPolicy
); }
77
JointPolicyPureVector
*
GetJointPolicyPureVector
(
void
)
78
{
return
(&
_m_foundPolicy
); }
79
double
GetExpectedReward
(
void
)
const
80
{
return
(
_m_expectedRewardFoundPolicy
); }
81
82
};
83
84
85
#endif
/* !_JESPEXHAUSTIVEPLANNER_H_ */
86
87
88
// Local Variables: ***
89
// mode:c++ ***
90
// End: ***
src
planning
JESPExhaustivePlanner.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2