Aimsun Next Scripting: DTANetwork Class Reference
Aimsun Next Scripting  22
Public Member Functions | List of all members
DTANetwork Class Reference

Public Member Functions

 DTANetwork ()
 
 ~DTANetwork ()
 
const std::vector< DTAVehicleType * > & getPrivateVehicles () const
 
DTAVehicleTypegetDTAVehicle (int idmodal) const
 
DTAVehicleTypegetVehicleById (uint id) const
 
bool hasReservedLanes () const
 
double getVolume (const DTASection *arc, int vehIndexSP) const
 

Constructor & Destructor Documentation

◆ DTANetwork()

DTANetwork::DTANetwork ( )

◆ ~DTANetwork()

DTANetwork::~DTANetwork ( )

Member Function Documentation

◆ getDTAVehicle()

DTAVehicleType * DTANetwork::getDTAVehicle ( int  idmodal) const

Return the vehicle type based on its index.

◆ getPrivateVehicles()

const std::vector< DTAVehicleType * > & DTANetwork::getPrivateVehicles ( ) const

Returns all vehicles defined in the demand.

◆ getVehicleById()

DTAVehicleType * DTANetwork::getVehicleById ( uint  id) const

Return the vehicle type based on its id. The same id of the GKVehicle.

◆ getVolume()

double DTANetwork::getVolume ( const DTASection arc,
int  vehIndexSP 
) const

Returns the volume used to calculate the k-initial shortest path trees.

◆ hasReservedLanes()

bool DTANetwork::hasReservedLanes ( ) const

Returns true if this network has reserved lanes.

© Aimsun SLU
Aimsun ®