MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
JointObservationHistory.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _JOINTOBSERVATIONHISTORY_H_
30
#define _JOINTOBSERVATIONHISTORY_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include <vector>
35
#include "
Globals.h
"
36
#include "
E.h
"
37
#include "
Referrer.h
"
38
#include "
JointHistory.h
"
39
40
class
PlanningUnitMADPDiscrete
;
//forward declaration to avoid including each other
41
43
47
class
JointObservationHistory
:
public
Referrer
<PlanningUnitMADPDiscrete>,
48
public
JointHistory
49
{
50
private
:
51
53
Index
_m_jointObservationI
;
59
bool
_m_containsEmptyJOI
;
63
JointObservationHistory
*
_m_pred
;
67
std::vector<Index>
_m_individualObservationHistories
;
68
69
protected
:
70
71
public
:
72
// Constructor, destructor and copy assignment.
76
JointObservationHistory
(
PlanningUnitMADPDiscrete
& pu);
79
JointObservationHistory
(
Index
jObsI,
JointObservationHistory
* pred);
81
JointObservationHistory
(
const
JointObservationHistory
& a);
83
~JointObservationHistory
();
84
85
//operators:
86
87
//data manipulation (set) functions:
88
89
//get (data) functions:
91
const
std::vector<Index>&
GetIndividualObservationHistoryIndices
()
const
;
93
Index
GetJointObservationIndex
()
const
94
{
return
(
_m_jointObservationI
);}
95
96
97
//other
99
virtual
JointObservationHistory
*
Clone
()
const
100
{
return
new
JointObservationHistory
(*
this
); }
101
103
std::string
SoftPrint
()
const
;
105
void
Print
()
const
{std::cout <<
SoftPrint
(); }
106
107
};
108
109
110
#endif
/* !_OBSERVATIONHISTORY_H_ */
111
112
113
// Local Variables: ***
114
// mode:c++ ***
115
// End: ***
src
support
JointObservationHistory.h
Generated on Mon Sep 23 2013 14:50:06 for MultiAgentDecisionProcess by
1.8.1.2