MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
NullPlanner.cpp
Go to the documentation of this file.
1
28
#include "
NullPlanner.h
"
29
30
NullPlanner::NullPlanner
(
DecPOMDPDiscreteInterface
* p)
31
{
32
PlanningUnitMADPDiscreteParameters
params;
33
params.
SetComputeAll
(
false
);
34
35
SetParams
(params);
36
SetProblem
(p);
37
38
}
39
40
NullPlanner::NullPlanner
(
size_t
horizon,
DecPOMDPDiscreteInterface
* p)
41
{
42
PlanningUnitMADPDiscreteParameters
params;
43
params.
SetComputeAll
(
false
);
44
45
SetParams
(params);
46
SetProblem
(p);
47
SetHorizon
(horizon);
48
}
49
50
NullPlanner::NullPlanner
(
const
PlanningUnitMADPDiscreteParameters
¶ms,
51
size_t
horizon,
DecPOMDPDiscreteInterface
* p) :
52
PlanningUnitDecPOMDPDiscrete
(params,horizon,p)
53
{
54
}
55
56
void
NullPlanner::Plan
()
57
{
58
throw
(
E
(
"NullPlanner::Plan() should not be called"
));
59
}
60
61
double
NullPlanner::GetExpectedReward
()
const
62
{
63
throw
(
E
(
"NullPlanner::GetExpectedReward() should not be called"
));
64
return
(0);
65
}
66
67
JointPolicy
*
NullPlanner::GetJointPolicy
()
68
{
69
throw
(
E
(
"NullPlanner::GetJointPolicy() should not be called"
));
70
return
(0);
71
}
src
support
NullPlanner.cpp
Generated on Mon Sep 23 2013 14:50:06 for MultiAgentDecisionProcess by
1.8.1.2