PyANGKernel.GKWalkingTime¶
- class GKWalkingTime¶
The walking times between a Transit Stop between other nearby stops or Transit stations, to be used in the Transit Assignment.
Synopsis¶
Methods¶
def
__init__()def
clear()def
getWalkingTime()
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__()¶
- __init__(other)
- Parameters:
other –
GKWalkingTime
- clear()¶
Returns the objects to which or from which there is a defined walking time.
Note
That means that there may be objects in this list that don’t appear in the Map returned by
getWalkingTimes()asgetWalkingTimes()only returns values of walkingTime _to_ the objects.- getWalkingTimes(iMainObject, iModel)¶
Returns the walkingTimes map: walkingTime to an object (for the objects it has been defined), by object id.
- getWalkingTimesById(iMainObject, iModel)¶
- setWalkingTimes(m)¶
- Parameters:
m – Dictionary with keys of type .GKObject and values of type double.
Sets the walkingTimes map: walkingTime to an object (for the objects it has been defined), by object id.