Adaptive Traffic Simulator
Loading...
Searching...
No Matches
Manager< t, size > Class Template Reference
Collaboration diagram for Manager< t, size >:

Public Member Functions

 Manager (Graph< t, size > *m)
void entrance ()
void entraingfromQueetoEdge ()
void recordArrival (float travelTime, const vector< t > &selectedPath)
void reached ()
void ShortestPath ()
void addVehicle (int id, t source, t destination)
void arrivalAtIntersection ()
void updateSignals ()
bool printPerformanceMetrics (float tickTime, float averageRush)
void printCSVHeader ()
void printCSVRow (float tickTime, float averageRush)
void Car_timing_file (float time, int id, string path, string initial_and_final)
void clearMetricsFile ()
void printNetwork ()
void PrintAllConnetedCityFromAcity ()
void checkBrokenPath ()
void physics ()
void injectSinusoidalTraffic (int currentTime)

Constructor & Destructor Documentation

◆ Manager()

template<class t, int size>
Manager< t, size >::Manager ( Graph< t, size > * m)
inline

Member Function Documentation

◆ addVehicle()

template<class t, int size>
void Manager< t, size >::addVehicle ( int id,
t source,
t destination )
inline
Here is the caller graph for this function:

◆ arrivalAtIntersection()

template<class t, int size>
void Manager< t, size >::arrivalAtIntersection ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Car_timing_file()

template<class t, int size>
void Manager< t, size >::Car_timing_file ( float time,
int id,
string path,
string initial_and_final )
inline
Here is the caller graph for this function:

◆ checkBrokenPath()

template<class t, int size>
void Manager< t, size >::checkBrokenPath ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearMetricsFile()

template<class t, int size>
void Manager< t, size >::clearMetricsFile ( )
inline
Here is the call graph for this function:

◆ entraingfromQueetoEdge()

template<class t, int size>
void Manager< t, size >::entraingfromQueetoEdge ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ entrance()

template<class t, int size>
void Manager< t, size >::entrance ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ injectSinusoidalTraffic()

template<class t, int size>
void Manager< t, size >::injectSinusoidalTraffic ( int currentTime)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ physics()

template<class t, int size>
void Manager< t, size >::physics ( )
inline
Here is the call graph for this function:

◆ PrintAllConnetedCityFromAcity()

template<class t, int size>
void Manager< t, size >::PrintAllConnetedCityFromAcity ( )
inline

◆ printCSVHeader()

template<class t, int size>
void Manager< t, size >::printCSVHeader ( )
inline
Here is the caller graph for this function:

◆ printCSVRow()

template<class t, int size>
void Manager< t, size >::printCSVRow ( float tickTime,
float averageRush )
inline
Here is the caller graph for this function:

◆ printNetwork()

template<class t, int size>
void Manager< t, size >::printNetwork ( )
inline

◆ printPerformanceMetrics()

template<class t, int size>
bool Manager< t, size >::printPerformanceMetrics ( float tickTime,
float averageRush )
inline
Here is the caller graph for this function:

◆ reached()

template<class t, int size>
void Manager< t, size >::reached ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ recordArrival()

template<class t, int size>
void Manager< t, size >::recordArrival ( float travelTime,
const vector< t > & selectedPath )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShortestPath()

template<class t, int size>
void Manager< t, size >::ShortestPath ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateSignals()

template<class t, int size>
void Manager< t, size >::updateSignals ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: