Hi,
Is it possible to give an experiment multiple seeds, so when the experiment finishes it will restart with the next seed.
Or do I need to make a new .argos file and then run it with the new seed?
Best,
Ashwin
Code: Select all
CSimulator &cSimulator = CSimulator::GetInstance();
cSimulator.SetExperimentFileName(PATH);
cSimulator.LoadExperiment();
int ran = 124;
for (int i = 0; i < iter; i++) {
cSimulator.Execute();
ran = rand() % (max - min + 1) + min;
cSimulator.Reset(ran);
}