MultiAgentDecisionProcess  Release 0.2.1
NullPlanner.cpp
Go to the documentation of this file.
1 
28 #include "NullPlanner.h"
29 
31 {
33  params.SetComputeAll(false);
34 
35  SetParams(params);
36  SetProblem(p);
37 
38 }
39 
41 {
43  params.SetComputeAll(false);
44 
45  SetParams(params);
46  SetProblem(p);
47  SetHorizon(horizon);
48 }
49 
51  size_t horizon, DecPOMDPDiscreteInterface* p) :
52  PlanningUnitDecPOMDPDiscrete(params,horizon,p)
53 {
54 }
55 
57 {
58  throw(E("NullPlanner::Plan() should not be called"));
59 }
60 
62 {
63  throw(E("NullPlanner::GetExpectedReward() should not be called"));
64  return(0);
65 }
66 
68 {
69  throw(E("NullPlanner::GetJointPolicy() should not be called"));
70  return(0);
71 }