MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
AgentRandom.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _AGENTRANDOM_H_
30
#define _AGENTRANDOM_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
36
#include "
AgentFullyObservable.h
"
37
#include "
AgentLocalObservations.h
"
38
41
class
AgentRandom
:
42
public
AgentFullyObservable
43
,
public
AgentLocalObservations
44
//, TODO, add all agent types (a random agent can have any type)
45
{
46
private
:
47
48
public
:
49
50
// Constructor, destructor and copy assignment.
52
AgentRandom
(
const
PlanningUnitDecPOMDPDiscrete
&pu,
Index
id
);
53
55
AgentRandom
(
const
AgentRandom
& a);
56
58
~AgentRandom
();
59
61
Index
Act
();
62
Index
Act
(
Index
joI)
63
{
return
Act
();}
64
Index
Act
(
Index
sI,
Index
joI,
double
reward)
65
{
return
Act
();}
66
67
void
ResetEpisode
();
68
69
};
70
71
72
#endif
/* !_AGENTRANDOM_H_ */
73
74
// Local Variables: ***
75
// mode:c++ ***
76
// End: ***
src
planning
AgentRandom.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2