MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
JointActionObservationHistoryTree.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _JOINTACTIONOBSERVATIONHISTORYTREE_H_
30
#define _JOINTACTIONOBSERVATIONHISTORYTREE_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
TreeNode.h
"
36
#include "
JointActionObservationHistory.h
"
37
38
39
65
class
JointActionObservationHistoryTree
:
public
TreeNode
<JointActionObservationHistory>
66
{
67
private
:
68
enum
aoh_t
{
A_SUC
,
O_SUC
};
69
70
aoh_t
_m_nodeType
;
71
72
protected
:
73
74
public
:
75
// Constructor, destructor and copy assignment.
77
JointActionObservationHistoryTree
(
aoh_t
nt =
A_SUC
) :
78
TreeNode
<
JointActionObservationHistory
> (),
79
_m_nodeType
(nt){};
80
82
JointActionObservationHistoryTree
(
JointActionObservationHistory
*
const
83
aoh,
aoh_t
nt =
A_SUC
);
84
85
//operators:
86
87
//data manipulation (set) functions:
89
void
SetIndex
(
Index
i);
91
92
void
SetSuccessor
(
Index
jaI,
Index
joI,
93
JointActionObservationHistoryTree
* suc);
94
95
96
//get (data) functions:
98
size_t
GetLength
()
const
99
{
return
(
GetContainedElement
()->
GetLength
());}
103
JointActionObservationHistoryTree
*
GetSuccessor
(
Index
jaI,
Index
joI);
105
JointActionObservationHistoryTree
*
GetPredecessor
()
const
;
107
JointActionObservationHistory
*
GetJointActionObservationHistory
()
const
;
108
109
void
Print
()
const
;
110
};
111
112
113
#endif
/* !_JOINTACTIONOBSERVATIONHISTORYTREE_H_ */
114
115
// Local Variables: ***
116
// mode:c++ ***
117
// End: ***
src
support
JointActionObservationHistoryTree.h
Generated on Mon Sep 23 2013 14:50:06 for MultiAgentDecisionProcess by
1.8.1.2