44 const std::vector<Index> &aIs)
const
46 if(
_m_R.find(make_pair(sIs,aIs))!=
_m_R.end())
47 return(
_m_R.find(make_pair(sIs,aIs))->second);
53 const std::vector<Index> &aIs,
56 _m_R.insert(make_pair(make_pair(sIs,aIs),reward));
64 ss << _m_s_str <<
"\t"<< _m_ja_str <<
"\t"
65 <<
"R(" << _m_s_str <<
","<< _m_ja_str
66 <<
") (rewards of 0 are not printed)"<<endl;
67 for(
Index s_i = 0; s_i < _m_nrStates; s_i++)
68 for(
Index ja_i = 0; ja_i < _m_nrJointActions; ja_i++)
72 ss << s_i <<
"\t" << ja_i <<
"\t" << r << endl;
77 return(
"RewardModelTOISparse::SoftPrint: not yet implemented");