Aimsun Next Scripting
22
|
Public Member Functions | |
DTANetwork () | |
~DTANetwork () | |
const std::vector< DTAVehicleType * > & | getPrivateVehicles () const |
DTAVehicleType * | getDTAVehicle (int idmodal) const |
DTAVehicleType * | getVehicleById (uint id) const |
bool | hasReservedLanes () const |
double | getVolume (const DTASection *arc, int vehIndexSP) const |
DTANetwork::DTANetwork | ( | ) |
DTANetwork::~DTANetwork | ( | ) |
DTAVehicleType * DTANetwork::getDTAVehicle | ( | int | idmodal | ) | const |
Return the vehicle type based on its index.
const std::vector< DTAVehicleType * > & DTANetwork::getPrivateVehicles | ( | ) | const |
Returns all vehicles defined in the demand.
DTAVehicleType * DTANetwork::getVehicleById | ( | uint | id | ) | const |
Return the vehicle type based on its id. The same id of the GKVehicle.
double DTANetwork::getVolume | ( | const DTASection * | arc, |
int | vehIndexSP | ||
) | const |
Returns the volume used to calculate the k-initial shortest path trees.
bool DTANetwork::hasReservedLanes | ( | ) | const |
Returns true if this network has reserved lanes.