EPiCS/CamSim — pull request #2 by hxcaine (2012-11-13 00:58:16+00:00)
Title: More changes, fixes and additions

I have made a few significant additions to the code. I will let the commit log speak for itself, but I have found some bugs which it may be worth pointing out here:

- Random number generation was not always using the same seeded class, so there were some random numbers being generated truly randomly which would have meant the code was not deterministic even when specifying a constant seed. This has been fixed.

- The auctions were not deterministic. I fixed the random number generation and ensured they all used a common seed, and found that auctions were still being held differently every time when using a more complex scenario. CameraControllers were being stored in HashMaps differently during each run because their hash code was being generated using the default hashCode() method. I have now implemented a simple hashCode() method which makes this process deterministic (and hopefully the whole simulator).

And non-bug related:

- Scenarios now in specific directory to avoid clogging up the root
- Compile script no longer pulls in all classes from the library
- Run script now defaults to the active AI node