Hello, the car following model is linked statically into the simulation binary. However, due to being well isolated from other parts of the application, working with a custom car following model only triggers minimal recompilation. Some numbers: - on a small notebook using msvc10 - building all sumo applications from scratch ~15 minutes - rebuilding sumo and sumo-gui after making a modification to one of the car following models 65 seconds - the linker seems to be the issue for msvc10 taking 60 out of these 65 seconds - quadcore desktop with an SSD using gcc - building all sumo applications from scratch 1.5 minutes - rebuilding sumo and sumo-gui after making a modification to one of the car following models 2 seconds
regards, Jakob 2014-09-01 23:44 GMT+02:00 <[email protected]>: > Hi, > > I am thinking about asking one of my university students to re-implement > his work on a car-following model into SUMO so that we can compare its > behaviour with other models implemented there. > > Before I start to press on, I would like to have some (even very vague) > estimate of overheads related to this task: my impression is that all > the car-following models are built into the SUMO executable, and in > order to change anything, one has to link the whole application over and > over again (I suppose that changing something in the model does not > trigger recompilation of any substantial part of the source) which could > be sometimes quite a time-consuming exercise. What is your experience? > > My original thought before looking closer at the documentation was that > the car-following model is a kind of plug-in, a small DLL that will be > registered within the simulator and used throughout the simulation - we > have so far the only experience with building Aimsun AAPI extensions, > which are built this way, and in that case the compilation overhead is > not an issue. > > Thanks, > > Jan > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > sumo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-devel > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ sumo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-devel
