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

#include <Simulator.h>

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

Public Member Functions

 Simulator ()
Graph< t, size > * getMap ()
void setupNetwork ()
void addMassiveTraffic ()
void run ()
 ~Simulator ()
void metric (float total_time, float x)
float rush ()
void clear ()

Public Attributes

Manager< t, size > * cityManager

Detailed Description

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

Definition at line 8 of file Simulator.h.

Constructor & Destructor Documentation

◆ Simulator()

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

Definition at line 13 of file Simulator.h.

◆ ~Simulator()

template<class t, int size>
Simulator< t, size >::~Simulator ( )
inline

Definition at line 178 of file Simulator.h.

Member Function Documentation

◆ addMassiveTraffic()

template<class t, int size>
void Simulator< t, size >::addMassiveTraffic ( )
inline

Definition at line 140 of file Simulator.h.

Here is the caller graph for this function:

◆ clear()

template<class t, int size>
void Simulator< t, size >::clear ( )
inline

Definition at line 190 of file Simulator.h.

Here is the caller graph for this function:

◆ getMap()

template<class t, int size>
Graph< t, size > * Simulator< t, size >::getMap ( )
inline

Definition at line 18 of file Simulator.h.

Here is the caller graph for this function:

◆ metric()

template<class t, int size>
void Simulator< t, size >::metric ( float total_time,
float x )
inline

Definition at line 183 of file Simulator.h.

Here is the caller graph for this function:

◆ run()

template<class t, int size>
void Simulator< t, size >::run ( )
inline

Definition at line 173 of file Simulator.h.

◆ rush()

template<class t, int size>
float Simulator< t, size >::rush ( )
inline

Definition at line 187 of file Simulator.h.

Here is the caller graph for this function:

◆ setupNetwork()

template<class t, int size>
void Simulator< t, size >::setupNetwork ( )
inline

Definition at line 20 of file Simulator.h.

Here is the caller graph for this function:

Member Data Documentation

◆ cityManager

template<class t, int size>
Manager<t, size>* Simulator< t, size >::cityManager

Definition at line 12 of file Simulator.h.


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