Multiple seeds

Requests regarding how to set up experiments in ARGoS.
pincy
Site Admin
Posts: 632
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: Multiple seeds

Postby pincy » Thu Apr 29, 2021 2:48 pm

The CSimulator::Reset() function that accepted the random seed should work correctly. I would not use it with the code you propose though, because rand() is not a good random number generator anyway, and there's no reason to randomize the seeds if what you want is repeatability. You can simply use random seeds in a sequence (e.g., from 1 to 10), and the results will be the same.
I made ARGoS.

AshwinRaviraj
Posts: 13
Joined: Mon Apr 19, 2021 9:40 pm

Re: Multiple seeds

Postby AshwinRaviraj » Fri Apr 30, 2021 1:25 pm

Alright, I will give it a try.

AngelaRampling
Posts: 1
Joined: Sat Jul 24, 2021 4:45 pm

Re: Multiple seeds

Postby AngelaRampling » Sun Jul 25, 2021 5:39 pm

And how it works??


Return to “How to... ?”