Go to the documentation of this file.
6 #ifndef SRC_CONFIGURATION_SIMULATOR_H_
7 #define SRC_CONFIGURATION_SIMULATOR_H_
11 #include "src/config_manager.h"
29 void Start(
const std::vector<int>&);
39 std::vector<int> busStartTimings_;
40 std::vector<int> timeSinceLastBus_;
41 int simulationTimeElapsed_;
42 std::vector<Route *> prototypeRoutes_;
43 std::vector<Bus *> busses_;
48 #endif // SRC_CONFIGURATION_SIMULATOR_H_
ConfigSimulator(ConfigManager *)
Constructs a ConfigSimulator.
Definition: configuration_simulator.cc:17
The main class to define stop.
Definition: stop.h:22
The main class to define bus.
Definition: bus.h:28
Simulator class to simulatate the system adapting configuration file.
Definition: configuration_simulator.h:21
The main class to define route.
Definition: route.h:25
void Update()
Method to run the simulation.
Definition: configuration_simulator.cc:42
The main class to read from configuration files.
Definition: config_manager.h:18
void Start(const std::vector< int > &)
Method to initialize simulator by taking in bus Start Timings vector.
Definition: configuration_simulator.cc:24