SRC/scheduler-map.{cc,h},
SC/scheduler.{cc,h}). Om een deterministische sortering te
verzekeren, en geen problemen te krijgen met gelijke keys voor verschillende
events wordt er in het geval van een tie in execution slice gekeken naar een
uniek event ID om te weten welk van de events het eerst moet worden uitgevoerd.
Hi Ives, nice set of posts. I suggest, you search for a few other discrete event simulators and investigate their data structures. Also, I wonder whether the choice for a data structure was well motivated in the code/papers describing the simulator.
BeantwoordenVerwijderenLets meet next week so you can start experimenting with our simulator and plug in different data structures/work on a benchmark.