PyANGKernel.GKPublicLineTimeTableScheduleDeparture¶
- class GKPublicLineTimeTableScheduleDeparture¶
Synopsis¶
Methods¶
def
__init__()def
getInitialLoad()def
getLinkLine()def
getMeanTime()def
getVehicle()def
setInitialLoad()def
setLinkLine()def
setMeanTime()def
setVehicle()
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
Detailed Description¶
Information about departures by a vehicle in a schedule in a transit line.
The departures can be either at a fixed time or at an interval.
See
GKPublicLineTimeTablefor more information on how to create these objects.- __init__()¶
- __init__(copy)
- Parameters:
Returns the departure time for fixed-typed departures.
- getDeviationTime()¶
- Return type:
Deviation on the mean time for interval-typed departures or on the departure time for fixed-typed departures.
Returns the initial vehicle load mean. It is only taken into account when modelling pedestrians.
Returns the initial vehicle load deviation. It is only taken into account when modelling pedestrians.
- getLinkDelayTime()¶
- Return type:
Returns the delay time of a linked departure.
- getLinkLine()¶
- Return type:
Returns the line this line departure is linked with, if any.
- getMeanTime()¶
- Return type:
Returns the mean time for interval-typed departures.
Returns the vehicle type to be generated.
Gets whether the first vehicle of a linked departure will wait for the linked line vehicle to arrive or not (in this case it will be generated as it was not linked).
Sets the departure time for fixed-typed departures.
- setDeviationTime(atime)¶
- Parameters:
atime –
GKTimeDuration
Deviation on the mean time for interval-typed departures or on the departure time for fixed-typed departures.
- setFirstVehicleLinked(linkFirstVeh)¶
- Parameters:
linkFirstVeh – bool
Sets the first vehicle of a linked departure to wait for the linked line vehicle to arrive or not (in this case it will be generated as it was not linked).
See also
- setInitialLoad(mean)¶
- Parameters:
mean – int
Sets the initial vehicle load mean. It is only taken into account when modelling pedestrians.
- setInitialLoadDeviation(dev)¶
- Parameters:
dev – int
Sets the initial vehicle load deviation. It is only taken into account when modelling pedestrians.
- setLinkDelayTime(ldt)¶
- Parameters:
ldt –
GKTimeDuration
Sets the delay time of a linked departure.
- setLinkLine(line)¶
- Parameters:
line –
GKPublicLine
Sets the line this line departure is linked with.
- setMeanTime(atime)¶
- Parameters:
atime –
GKTimeDuration
Sets the mean time for interval-typed departures.
Sets the vehicle type to be generated.