MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
DecPOMDP.h
Go to the documentation of this file.
1
28
#ifndef _DECPOMDP_H_
29
#define _DECPOMDP_H_ 1
30
31
/* the include directives */
32
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
DecPOMDPInterface.h
"
36
37
46
class
DecPOMDP
:
47
virtual
public
DecPOMDPInterface
48
{
49
private
:
50
52
56
double
_m_discount
;
58
reward_t
_m_rewardType
;
59
protected
:
60
61
public
:
62
63
// constructors etc.
65
DecPOMDP
();
66
68
void
SetDiscount
(
double
d);
70
double
GetDiscount
()
const
{
return
_m_discount
;}
72
73
void
SetRewardType
(
reward_t
r);
75
reward_t
GetRewardType
()
const
{
return
_m_rewardType
;}
76
78
std::string
SoftPrint
()
const
;
79
81
void
SetDiscountForAgent
(
Index
agentI,
double
d)
82
{
SetDiscount
(d);}
83
85
double
GetDiscountForAgent
(
Index
agentI)
const
86
{
return
GetDiscount
();}
87
89
void
SetRewardTypeForAgent
(
Index
agentI,
reward_t
r)
90
{
SetRewardType
(r);}
91
93
reward_t
GetRewardTypeForAgent
(
Index
agentI)
const
94
{
return
GetRewardType
();}
95
96
97
};
98
99
#endif
100
101
// Local Variables: ***
102
// mode:c++ ***
103
// End: ***
src
base
DecPOMDP.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2