Adaptive Traffic Simulator
Loading...
Searching...
No Matches
vehicle< t > Struct Template Reference
Collaboration diagram for vehicle< t >:

Public Member Functions

 vehicle ()
 vehicle (int i, t s, t d)
string getTakenPath ()
string getstart_and_end ()

Public Attributes

int id
dest
source
current
list< t > path
pair< t, t > currentRoad
int state
bool inQueue
vector< t > selected_path
float timespent
float timeRemaining

Constructor & Destructor Documentation

◆ vehicle() [1/2]

template<class t>
vehicle< t >::vehicle ( )
inline

◆ vehicle() [2/2]

template<class t>
vehicle< t >::vehicle ( int i,
t s,
t d )
inline

Member Function Documentation

◆ getstart_and_end()

template<class t>
string vehicle< t >::getstart_and_end ( )
inline

◆ getTakenPath()

template<class t>
string vehicle< t >::getTakenPath ( )
inline

Member Data Documentation

◆ current

template<class t>
t vehicle< t >::current

◆ currentRoad

template<class t>
pair<t, t> vehicle< t >::currentRoad

◆ dest

template<class t>
t vehicle< t >::dest

◆ id

template<class t>
int vehicle< t >::id

◆ inQueue

template<class t>
bool vehicle< t >::inQueue

◆ path

template<class t>
list<t> vehicle< t >::path

◆ selected_path

template<class t>
vector<t> vehicle< t >::selected_path

◆ source

template<class t>
t vehicle< t >::source

◆ state

template<class t>
int vehicle< t >::state

◆ timeRemaining

template<class t>
float vehicle< t >::timeRemaining

◆ timespent

template<class t>
float vehicle< t >::timespent

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