tpbarron / vehicle_optimization

Vehicle simulator to test algorithms for traffic optimization.
1 stars 0 forks source link

Add functionality to Scenario to enable running from current data in database #4

Closed tpbarron closed 10 years ago

tpbarron commented 10 years ago

Need to change the load scenario method to check what is currently loaded in the db. (Will need to add a db param). And then if the correct data is loaded only load the objects in memory. If not, clear the db and load the correct data.

tpbarron commented 10 years ago

This is complicated because the vehicles regenerate uuids every run. For now I just clear the database on start every time.