MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
ActionObservationHistoryTree.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _ACTIONOBSERVATIONHISTORYTREE_H_
30
#define _ACTIONOBSERVATIONHISTORYTREE_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
TreeNode.h
"
36
#include "
ActionObservationHistory.h
"
37
38
40
63
class
ActionObservationHistoryTree
:
public
TreeNode
<ActionObservationHistory>
64
{
65
private
:
66
enum
aoh_t
{
A_SUC
,
O_SUC
};
67
68
aoh_t
_m_nodeType
;
69
70
protected
:
71
72
public
:
73
// Constructor, destructor and copy assignment.
75
ActionObservationHistoryTree
(
aoh_t
nt =
A_SUC
) :
76
TreeNode
<
ActionObservationHistory
>(),
77
_m_nodeType
(nt){};
78
80
ActionObservationHistoryTree
(
ActionObservationHistory
*
const
aoh,
81
aoh_t
nt =
A_SUC
);
82
84
ActionObservationHistoryTree
(
const
ActionObservationHistoryTree
& a);
85
//operators:
86
87
//data manipulation (set) functions:
89
void
SetIndex
(
Index
i);
91
92
void
SetSuccessor
(
Index
aI,
Index
oI,
ActionObservationHistoryTree
* suc);
93
94
95
//get (data) functions:
97
ActionObservationHistoryTree
*
GetSuccessor
(
Index
aI,
Index
oI);
99
ActionObservationHistory
*
GetActionObservationHistory
()
const
;
100
101
void
Print
()
const
;
102
};
103
104
105
#endif
/* !_ACTIONOBSERVATIONHISTORYTREE_H_ */
106
107
// Local Variables: ***
108
// mode:c++ ***
109
// End: ***
src
support
ActionObservationHistoryTree.h
Generated on Mon Sep 23 2013 14:50:06 for MultiAgentDecisionProcess by
1.8.1.2