NaroaCS / AutonomousBicycleSimulation

Fleet Simulation of MIT Autonomous Bicycle Project
https://micro-mobility-abm.netlify.app/
5 stars 2 forks source link

Create SystemInterface #3

Closed NaroaCS closed 3 years ago

NaroaCS commented 4 years ago

SystemInterface should have access to SystemData, gives answer to users search for closest station or bike. Functions like closest_start_station (check bikes), closest_end_station (chech docks), closest_dockless_bike It can also be used by the DemandManager to decide which autonomous bike to send for a user.

NaroaCS commented 4 years ago

Simplify the data structure when calculating distances

NaroaCS commented 3 years ago

All the bike and station interactions should also be moved

NaroaCS commented 3 years ago

Done. Now the Users don't need to have acces to the stations and bikes, everything is done trhough the systeminterface and the demandmanager.