My Project
Loading...
Searching...
No Matches
Manager< t, size > Class Template Reference

#include <Manger.h>

Collaboration diagram for Manager< t, size >:
Collaboration graph

Public Member Functions

 Manager (Graph< t, size > *m)
int getVehicleCount ()
float getArrivedCount ()
float getAvgTravelTime ()
float getWindowedAvgTravelTime ()
float getMinTravelTime ()
float getMaxTravelTime ()
float getThroughput (float tick)
float getTotalDelay ()
float getSystemCost ()
int getRerouteCount ()
void entrance ()
void entraingfromQueetoEdge ()
list< vehicle< t > > & getVehicles ()
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)

Detailed Description

template<class t, int size>
class Manager< t, size >

Definition at line 12 of file Manger.h.

Constructor & Destructor Documentation

◆ Manager()

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

Definition at line 25 of file Manger.h.

Member Function Documentation

◆ addVehicle()

template<class t, int size>
void Manager< t, size >::addVehicle ( int id,
t source,
t destination )
inline

Definition at line 290 of file Manger.h.

Here is the caller graph for this function:

◆ arrivalAtIntersection()

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

Definition at line 297 of file Manger.h.

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

Definition at line 526 of file Manger.h.

Here is the caller graph for this function:

◆ checkBrokenPath()

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

Definition at line 568 of file Manger.h.

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

Definition at line 540 of file Manger.h.

Here is the call graph for this function:

◆ entraingfromQueetoEdge()

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

Definition at line 124 of file Manger.h.

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

Definition at line 71 of file Manger.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getArrivedCount()

template<class t, int size>
float Manager< t, size >::getArrivedCount ( )
inline

Definition at line 35 of file Manger.h.

◆ getAvgTravelTime()

template<class t, int size>
float Manager< t, size >::getAvgTravelTime ( )
inline

Definition at line 37 of file Manger.h.

◆ getMaxTravelTime()

template<class t, int size>
float Manager< t, size >::getMaxTravelTime ( )
inline

Definition at line 59 of file Manger.h.

◆ getMinTravelTime()

template<class t, int size>
float Manager< t, size >::getMinTravelTime ( )
inline

Definition at line 51 of file Manger.h.

◆ getRerouteCount()

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

Definition at line 70 of file Manger.h.

◆ getSystemCost()

template<class t, int size>
float Manager< t, size >::getSystemCost ( )
inline

Definition at line 69 of file Manger.h.

◆ getThroughput()

template<class t, int size>
float Manager< t, size >::getThroughput ( float tick)
inline

Definition at line 60 of file Manger.h.

◆ getTotalDelay()

template<class t, int size>
float Manager< t, size >::getTotalDelay ( )
inline

Definition at line 68 of file Manger.h.

◆ getVehicleCount()

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

Definition at line 34 of file Manger.h.

◆ getVehicles()

template<class t, int size>
list< vehicle< t > > & Manager< t, size >::getVehicles ( )
inline

Definition at line 166 of file Manger.h.

◆ getWindowedAvgTravelTime()

template<class t, int size>
float Manager< t, size >::getWindowedAvgTravelTime ( )
inline

Definition at line 45 of file Manger.h.

◆ injectSinusoidalTraffic()

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

Definition at line 652 of file Manger.h.

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

Definition at line 599 of file Manger.h.

Here is the call graph for this function:

◆ PrintAllConnetedCityFromAcity()

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

Definition at line 566 of file Manger.h.

◆ printCSVHeader()

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

Definition at line 480 of file Manger.h.

Here is the caller graph for this function:

◆ printCSVRow()

template<class t, int size>
void Manager< t, size >::printCSVRow ( float tickTime,
float averageRush )
inline

Definition at line 491 of file Manger.h.

Here is the caller graph for this function:

◆ printNetwork()

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

Definition at line 559 of file Manger.h.

◆ printPerformanceMetrics()

template<class t, int size>
bool Manager< t, size >::printPerformanceMetrics ( float tickTime,
float averageRush )
inline

Definition at line 409 of file Manger.h.

Here is the caller graph for this function:

◆ reached()

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

Definition at line 195 of file Manger.h.

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

Definition at line 170 of file Manger.h.

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

Definition at line 241 of file Manger.h.

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

Definition at line 357 of file Manger.h.

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: