MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
POSGInterface.h
Go to the documentation of this file.
1
28
#ifndef _POSGINTERFACE_H_
29
#define _POSGINTERFACE_H_ 1
30
31
/* the include directives */
32
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
MultiAgentDecisionProcessInterface.h
"
36
class
State
;
37
class
JointAction
;
38
39
40
47
class
POSGInterface
:
virtual
public
MultiAgentDecisionProcessInterface
48
{
49
private
:
50
51
protected
:
52
53
public
:
54
56
virtual
~POSGInterface
() {};
57
59
virtual
void
SetDiscountForAgent
(
Index
agentI,
double
d) = 0;
60
62
virtual
double
GetDiscountForAgent
(
Index
agentI)
const
= 0;
63
65
virtual
void
SetRewardTypeForAgent
(
Index
agentI,
reward_t
r) = 0;
66
68
virtual
reward_t
GetRewardTypeForAgent
(
Index
agentI)
const
= 0;
69
71
72
virtual
void
SetRewardForAgent
(
Index
agentI,
State
* s,
JointAction
* ja,
73
double
r) = 0;
75
76
virtual
double
GetRewardForAgent
(
Index
agentI,
State
* s,
77
JointAction
* ja)
const
= 0;
78
80
virtual
POSGInterface
*
Clone
()
const
= 0;
81
};
82
83
#endif
84
85
// Local Variables: ***
86
// mode:c++ ***
87
// End: ***
src
base
POSGInterface.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2