36 using std::stringstream;
49 cout <<
"PolicyPureVector(): creating policy for agent "<<agentI
50 <<
", depth " << depth <<
" (nr domain elements "
51 << nrDE <<
")" << endl;
61 if(
DEBUG_PPV) cout <<
" clone PolicyPureVector ";
74 if (
this == &o)
return *
this;
84 if(
DEBUG_PPV)cout <<
">>>PolicyPureVector::ZeroInitialization(): for agent "
99 cout <<
">>>PolicyPureVector::RandomInitialization(): for agent "
110 cout <<
"rand() = " <<r<<endl;
118 bool carry_over =
true;
149 vector<LIndex> nrElems(2);
153 vector<LIndex> indexVec(2);
155 for(
int o=0;o!=nrO;++o)
173 vector<LIndex> nrElems(2);
174 nrElems[0]=
static_cast<LIndex>(pow(static_cast<double>(nrA),nrO));
176 vector<LIndex> indexVec(2);
178 for(
int o=nrO-1;o>=0;--o)