The main class to simulate the transit system. More...
#include <local_simulator.h>


Public Member Functions | |
| bool | Start (std::ostream &out) override |
| bool | Update (std::ostream &out) override |
Additional Inherited Members | |
Protected Attributes inherited from Simulator | |
| std::list< Bus * > | active_buses_ |
| std::list< Stop * > | all_stops_ |
| std::vector< Route * > | prototype_routes_ |
| std::vector< double * > | distance_between_sets_ |
| std::vector< PassengerGenerator * > | passenger_generators_ |
The main class to simulate the transit system.
Calls to Start function to prepare necessary data structures. Update function to start simulation.
1.8.16