[BonnMotion] Creating scenarios with specific starating positions
cheiden
cheiden at uos.de
Mon Aug 28 16:16:51 CEST 2017
Hey Stephan,
If I understood you correctly, I think there are currently no options to
specify certain starting positions. They usually depend on the seed of
the random number generator. The only possibility that comes to my mind
is adding it in the actual code and compiling BM again. You can find it
in src/edu/bonn/cs/iv/bonnmotion/models/Boundless.java.
You could e.g. add new command line arguments to the parseArg() method
that specifies new starting locations for the nodes. Then you could
"restart" your simulation by assigning these positions initially in the
generate() method.
Hope this helps.
Best regards,
Christian Heiden
On 08/28/2017 03:56 PM, Stephan Wirsing wrote:
> Dear Matthias,
>
> thanks for your quick answer! I tried the suggested solution, and it worked
> fine for the concatenation of two boundless scenarios.
>
> However, this does not let me "split" the simulation into two parts - this
> feature would be needed, as the configuration of the second part would
> depend on the results of the first one.
> I also tried a workaround by concatenating a static drift scenario (which is
> the only one that lets me specify starting positions = last positions from
> the first part), with another Boundless scenario. Unfortunately the
> StaticDrift scenario cannot be concatenated.
>
> Do you see any other options to hand-over starting points?
>
> Kind regards,
> Stephan
>
>
> -----Ursprüngliche Nachricht-----
> Von: bonnmotion-bounces at list.serv.Uni-Osnabrueck.de
> [mailto:bonnmotion-bounces at list.serv.Uni-Osnabrueck.de] Im Auftrag von
> Matthias Schwamborn
> Gesendet: Montag, 28. August 2017 12:46
> An: BonnMotion mobility generator mailing list
> <bonnmotion at list.serv.Uni-Osnabrueck.de>
> Betreff: Re: [BonnMotion] Creating scenarios with specific starating
> positions
>
> Hi Stephan,
>
> you might want to take a look at the meta model "ChainScenario". It doesn't
> support all mobility models, but it should support Boundless.
> Hope that helps.
>
>
> Best regards,
> Matthias
>
> On 28.08.17 12:05, Stephan Wirsing wrote:
>> Dear bonnmotion team and users,
>>
>>
>>
>> In the documentation and archive I did not find an answer to the
>> following question:
>>
>>
>>
>> Is there a way to import specific starting positions for bonnmotion
>> simulations?
>>
>> I want to create “Boundless” scenario which can be stopped and later
>> possibly continued with the last positions. In between some other
>> calculations will be excuted.
>>
>>
>>
>> Thank you very much for your reply!
>>
>>
>>
>> Kind regards,
>>
>> Stephan
>>
>>
>>
>> --
>>
>> Dipl. Wirt.-Ing. Stephan Wirsing
>>
>> Universität Wien
>> Forschungsgruppe Cooperative Systems
>> stephan.wirsing at univie.ac.at
>> <javascript:linkTo_UnCryptMailto('ocknvq,uvgrjcp0yktukpiBwpkxkg0ce0cv'
>> );>
>>
>>
>>
>>
>>
>> _______________________________________________
>> BonnMotion mailing list
>> BonnMotion at list.serv.Uni-Osnabrueck.de
>> https://list.serv.uni-osnabrueck.de/mailman/listinfo/bonnmotion
>>
> --
> Matthias Schwamborn
>
> University of Osnabrück Tel.: +49-541-969-7167
> Institute of Computer Science Fax: +49-541-969-2799
> Wachsbleiche 27 E-mail: schwamborn at informatik.uos.de
> D-49090 Osnabrück, Germany http://sys.cs.uos.de/schwamborn/
>
>
> _______________________________________________
> BonnMotion mailing list
> BonnMotion at list.serv.Uni-Osnabrueck.de
> https://list.serv.uni-osnabrueck.de/mailman/listinfo/bonnmotion
More information about the BonnMotion
mailing list