34 _m_initialized =
false;
46 _m_discount.at(agentI)=d;
48 throw(
E(
"POSG::SetDiscount() discount not valid, should be >=0 and <=1"));
54 ss <<
"Discount factors: " <<
56 ss <<
"Reward type: " <<
64 throw(
E(
"POSG::SetRewardType only reward type REWARD is supported"));
65 _m_rewardType.at(agentI) = r;
73 throw E(
"POSG::SetInitialized failed because POSG doesn't know the \
74 number of agents yet. (use SetNrAgents first!)");
78 _m_initialized =
true;
88 _m_initialized =
false;
89 _m_nrAgents = nrAgents;
92 _m_discount = vector<double>(_m_nrAgents, 1.0);
93 _m_rewardType = vector<reward_t>(_m_nrAgents,
REWARD);