43 int nrRuns,
int seed) :
46 _m_saveIntermediateResults(false)
56 _m_saveIntermediateResults(false)
74 double maxAbsReward=0;
83 cout <<
"Set horizon to " << _m_horizon <<
" (g "
91 cout <<
"Simulation::RunSimulations horizon " <<
_m_horizon
123 cout <<
"Run ended r="<<res<<endl;
140 cout <<
"Simulation::RunSimulation " << endl
141 <<
"Simulation::RunSimulation set initial state to "
148 Step(jaI, t, sI, joI, r, sumR);
160 Index &joI,
double &r,
172 cout <<
"Simulation::RunSimulation ("
173 << sI <<
"," << jaI <<
"," << sI_suc <<
") ("
181 <<
") jo " << joI <<
" "
185 <<
") r " << r <<
" sumR " << sumR << endl;
195 return(agents[i]->Act(INT_MAX));
199 return(agents[i]->Act(oIs[i]));
207 return(agents[i]->Act(joI));
211 GetAction(
const vector<AgentDelayedSharedObservations*> &agents,
216 return(agents[i]->Act(INT_MAX,prevJoI));
220 return(agents[i]->Act(oIs[i],prevJoI));
229 return(agents[i]->Act(sI,joI,r));