PyANGKernel.GKVehicleClass

class GKVehicleClass

Class that holds a set of vehicle types

Details

The class is useful to group vehicle types to define additional properties that are taken into account when calculating its route/trajectory in micro or meso simulations (i.e. reserved lanes for public vehicles)

Inheritance diagram of PyANGKernel.GKVehicleClass

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
getVehiclesInThisClass()
Return type:

.list of const GKVehicle

Returns the vehicles in this class. As no info is stored in the class it will look at all the vehicles in the network.