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

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:

otherGKWalkingTime

clear()
getRelatedObjects(iModel)
Parameters:

iModelGKModel

Return type:

.list of GKObject

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() as getWalkingTimes() only returns values of walkingTime _to_ the objects.

getWalkingTime(iObject)
Parameters:

iObjectGKObject

Return type:

float

getWalkingTimes(iMainObject, iModel)
Parameters:
Return type:

Dictionary with keys of type .GKObject and values of type double.

Returns the walkingTimes map: walkingTime to an object (for the objects it has been defined), by object id.

getWalkingTimesById(iMainObject, iModel)
Parameters:
Return type:

Dictionary with keys of type .qint32 and values of type double.

removeWalkingTime(iObject)
Parameters:

iObjectGKObject

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.