MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
TOIFactoredRewardDecPOMDPDiscrete.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _TOIFACTOREDREWARDDECPOMDPDISCRETE_H_
30
#define _TOIFACTOREDREWARDDECPOMDPDISCRETE_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
TOIDecPOMDPDiscrete.h
"
36
37
38
43
class
TOIFactoredRewardDecPOMDPDiscrete
:
44
public
TOIDecPOMDPDiscrete
45
{
46
private
:
48
bool
_m_initialized
;
49
protected
:
50
std::vector<RewardModel*>
_m_p_rModels
;
51
public
:
52
// Constructor, destructor and copy assignment.
54
TOIFactoredRewardDecPOMDPDiscrete
(
55
std::string name=
"received unspec. by TOIFactoredRewardDecPOMDPDiscrete"
,
56
std::string descr=
"received unspec. by TOIFactoredRewardDecPOMDPDiscrete"
,
57
std::string pf=
"received unspec. by TOIFactoredRewardDecPOMDPDiscrete"
);
58
59
60
TOIFactoredRewardDecPOMDPDiscrete
61
(
const
TOIFactoredRewardDecPOMDPDiscrete
& o);
62
63
virtual
~TOIFactoredRewardDecPOMDPDiscrete
();
64
65
TOIFactoredRewardDecPOMDPDiscrete
&
operator
=
66
(
const
TOIFactoredRewardDecPOMDPDiscrete
& o);
67
71
virtual
bool
SetInitialized
(
bool
b);
72
73
void
SetIndividualRewardModel
(
RewardModel
* rewardModel,
74
Index
agentID);
75
76
//get (data) functions:
78
double
GetReward
(
Index
sI,
Index
jaI)
const
;
79
double
GetReward
(
const
std::vector<Index> &sIs,
80
const
std::vector<Index> &aIs)
const
;
81
82
double
GetIndividualReward
(
Index
indSI,
Index
indAI,
Index
agentID)
const
;
83
85
virtual
TOIFactoredRewardDecPOMDPDiscrete
*
Clone
()
const
86
{
return
new
TOIFactoredRewardDecPOMDPDiscrete
(*
this
); }
87
89
std::string
SoftPrint
()
const
;
90
};
91
92
93
#endif
/* !_TOIFACTOREDREWARDDECPOMDPDISCRETE_H_ */
94
95
// Local Variables: ***
96
// mode:c++ ***
97
// End: ***
src
base
TOIFactoredRewardDecPOMDPDiscrete.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2