Menu

Code Commit Log


Commit Date  
[r108] by mrieser

Optimization: Links can now be inactive if there are only parked vehicles, but they have to register themselves in QueueSimulation.setActivationLink() so they are activated again at the right time when a vehicle wants to depart. Using a LinkedList (Queue-Interface) instead of an ArrayList for QueueLink.vehQueue, this seems to speed up things a little bit. Removed synchronized-statements in QueueLink, as the QueueSim is still single-threaded. Got rid of QueueLink.buffercount in favor QueueLink.buffer.size(). Other smaller code cleanups.
The order of events changed in the OnePercentBerlin10sTest, because the links with only parked vehicles are now activated/deactivated and are thus in an other order in the internal QueueNetworkLayer.simLinksArray. But if the old and new events-files are sorted, they are equal.
The changes reduce the execution time of OnePercentBerlin10sTest to about 60% of the time before.

2007-12-01 22:46:43 Tree
[r107] by mrieser

code cleanup. made members non-static.

2007-12-01 22:37:27 Tree
[r106] by mrieser

removed additional linebreak in printMemoryUsage()

2007-12-01 22:36:49 Tree
[r105] by mrieser

added option to disable the creation of the leghistogram.png with method setCreateLegHistogramPNG(). The creation was especially expensive in small scenarios like equil-net.

2007-12-01 22:34:03 Tree
[r104] by mrieser

nodes are now deactivated when no incoming buffer has cars on it to speed up simulations (finished the work of Kai from 2007-11-19) and activated again by QueueLink as soon as a car is placed in a buffer.

2007-12-01 12:19:49 Tree
[r103] by mrieser

removed old GPL-Header, some code cleanup / optimization

2007-11-30 21:12:21 Tree
[r102] by mrieser

simplified compareTo(IdI)

2007-11-30 21:07:34 Tree
[r101] by mrieser

agents arriving are now also removed from the buffer, just in case (itsumo-compatibility)

2007-11-30 17:08:55 Tree
[r100] by yu_vsp
2007-11-30 17:06:33 Tree
[r99] by yu_vsp
2007-11-30 16:49:15 Tree
Older >
Auth0 Logo