MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
AgentBG.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _AGENTBG_H_
30
#define _AGENTBG_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
JointBeliefSparse.h
"
36
#include "
AgentDelayedSharedObservations.h
"
37
#include "
QAV.h
"
38
39
class
PerseusBGPlanner
;
40
class
JointBeliefInterface
;
41
class
JointPolicyPureVector
;
42
class
BayesianGameIdenticalPayoff
;
43
45
class
AgentBG
:
public
AgentDelayedSharedObservations
46
{
47
private
:
48
49
QAV<PerseusBGPlanner>
*
_m_QBG
;
50
51
size_t
_m_t
;
52
53
JointBeliefSparse
_m_prevJB
;
54
55
BayesianGameIdenticalPayoff
*
_m_bgip
;
56
57
JointPolicyPureVector
*
_m_jpol
;
58
59
std::vector<Index>
_m_oIs
,
_m_prevJoIs
,
_m_prevJaIs
,
_m_aIs
;
60
61
Index
_m_jaIfirst
;
62
63
int
GetMaximizingBGIndex
(
const
JointBeliefInterface
&jb)
const
;
64
Index
GetMaximizingActionIndex
(
const
JointBeliefInterface
&jb)
const
;
65
66
public
:
67
68
// Constructor, destructor and copy assignment.
70
AgentBG
(
const
PlanningUnitDecPOMDPDiscrete
&pu,
Index
id
,
71
QAV<PerseusBGPlanner>
*
QBG
);
72
74
AgentBG
(
const
AgentBG
& a);
75
77
~AgentBG
();
78
79
Index
Act
(
Index
oI,
Index
prevJoI);
80
81
void
ResetEpisode
();
82
83
};
84
85
86
#endif
/* !_AGENTBG_H_ */
87
88
// Local Variables: ***
89
// mode:c++ ***
90
// End: ***
src
planning
AgentBG.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2