Add TSimulation class for better work with simulation. The simulation use same configuration of roads and intersections like before.
Fix some bugs in TSLPath.
Add few methods to TSLUniverseDelegate class.
Replace queued method calls by sequential calls.
Bind key ‘r’ to reset the simulations.
Bug fix, path is now able to check for the free position just at front of the car (not so good, but at least it’s working).
Implement evolutionary algorithm for the traffic control optimization problem.
The semaphores are now configurable using NSArray. (NSArray is a genotype of individual in evolutionary algorithm).
Semaphores Cycles are now configurable from the configuration plist (“SemaphoreCycles”) or you can set if the Semaphores Cycles should be learn from Evolutionary Algorithm at start (“UseEvolution”).
Results of Evolution Algorithm are written to the Results.plist.
Code Cleanup - AppDelegate.
Add some statistics into the simulations (car finish time and car traveled distance).
Add visualize method into the TSLObject, so now you can visualize all objects independently on universe creation. Also there were massive memory allocations because of all the SKNodes (More then 9 GB - crazy :D).