This is still a misunderstanding. Regardless of using libtraci, traciapi or
even libsumo, at some point the sumo server process is being started
(remotely or locally). Whoever starts that process is responsible for
setting options and may set option 'seed'. You can also restart a running
process with new options by calling the function traci.load.

Am Fr., 10. Sept. 2021 um 20:45 Uhr schrieb Hervé Diedie <
[email protected]>:

> After considering using Libtraci instead of TraCIAPI and after browsing
> the Libtraci folder in the Simulation.cpp file, a quick check-up of
> Simulation::start ()  function member showed the following instructions:
> #ifdef WIN32
>     FILE* pipe = _popen(oss.str().c_str(), "r");
> #else
>     FILE* pipe = popen(oss.str().c_str(), "r");
>
> meaning that in the  command line embedded in oss.str()   the referred
> file  (i.e sumo or sumo-gui) will be opened locally.
> Therefore my two questions still stand:
>
> Do SUMO and OMNeT++ must be necessarily installed on the same machine to
> run a simulation campaign with many replications ?
>
>   ... if so, what's the point of using a client-server scheme to bind the
> two software through TraCI ?
>
>
> Best regards.
>
>
>
> Le ven. 10 sept. 2021 à 16:41, Hervé Diedie <[email protected]> a
> écrit :
>
>> So, must I consider using Libtraci instead of TraCIAPI ?
>>
>> Le ven. 10 sept. 2021 à 14:47, <[email protected]> a écrit :
>>
>>> This looks like a misunderstanding. “Wherever” here means “wherever in
>>> your code” (and not in terms of your machine).
>>>
>>>
>>>
>>> Best regards, Matthias
>>>
>>>
>>>
>>> *From:* sumo-user <[email protected]> *On Behalf Of *Hervé
>>> Diedie
>>> *Sent:* Freitag, 10. September 2021 16:07
>>> *To:* Sumo project User discussions <[email protected]>
>>> *Subject:* Re: [sumo-user] Replications with different seeds from TRACI
>>>
>>>
>>>
>>> In other words, SUMO and OMNeT++ must be installed on the same host...
>>> if so, what's the point of using a client-server scheme to bind the
>>>
>>> two software through TraCI ?
>>>
>>>
>>>
>>> Le ven. 10 sept. 2021 à 12:11, Jakob Erdmann <[email protected]> a
>>> écrit :
>>>
>>> The same idea applies: wherever you start the sumo process, add those
>>> options.
>>>
>>>
>>>
>>> Am Fr., 10. Sept. 2021 um 12:28 Uhr schrieb Hervé Diedie <
>>> [email protected]>:
>>>
>>> Actually, I'm using Traci for c++  within OMNeT++ simulator, not the
>>> python version..
>>>
>>>
>>>
>>> Le ven. 10 sept. 2021 à 08:49, Jakob Erdmann <[email protected]> a
>>> écrit :
>>>
>>> Add options ["--seed", str(yourseed)] to the traci.start call.
>>>
>>>
>>>
>>> Am Do., 9. Sept. 2021 um 17:40 Uhr schrieb Hervé Diedie <
>>> [email protected]>:
>>>
>>> Hi all,
>>>
>>> How can I launch a simulation campaign with reproducible replications
>>> with different seeds from Traci ?
>>>
>>>
>>>
>>> Beat regards.
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to