PyLandUsePlugin.GKGenerationAttractionVector¶
- class GKGenerationAttractionVector¶
Generation/Attraction data by centroid
Synopsis¶
Methods¶
def
__init__()def
clearValues()def
getModes()def
getTimePeriod()def
getTripPurpose()def
getUserClasses()def
isEmpty()def
setIsEmpty()def
setModes()def
setTimePeriod()def
setTripPurpose()
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__()¶
- clearValues()¶
Set the generated/attracted trip of each centroid to 0.0
- getAttractedValue(cent)¶
- Parameters:
cent –
GKCentroid- Return type:
Attracted value for a centroid
- getAttractedValues()¶
- Return type:
Get the attracted values as a vector
Get Car availability
- getCentroidConfiguration()¶
- Return type:
GKCentroidConfiguration
Get the centroid configuration
- getGeneratedValue(cent)¶
- Parameters:
cent –
GKCentroid- Return type:
Generated value for a centroid
- getGeneratedValues()¶
- Return type:
Get the generated values as a vector
- getModes()¶
- Return type:
.list of GKTransportationMode
- getTimePeriod()¶
- Return type:
Get the time period for this vector
- getTripPurpose()¶
- Return type:
Get the trip purpose for this vector
- getUserClasses()¶
- Return type:
.list of GKUserClass
get the needed user classes and generates missing user classes
- setAttractedValue(cent, value)¶
- Parameters:
cent –
GKCentroidvalue – float
Attracted value for a centroid
- setCarAvailability(iCarAvailability)¶
- Parameters:
iCarAvailability – int
Set Car availability
- setCentroidConfiguration(cent)¶
- Parameters:
cent –
GKCentroidConfiguration
Set (when created) the centroid configuration of this vector.
- setGeneratedValue(cent, value)¶
- Parameters:
cent –
GKCentroidvalue – float
Generated value for a centroid
- setIsEmpty(isEmpty)¶
- Parameters:
isEmpty – bool
- setModes(iModes)¶
- Parameters:
iModes – .list of GKTransportationMode
- setTimePeriod(timePeriod)¶
- Parameters:
timePeriod –
GKTimePeriod
Set the time period for this vector
- setTripPurpose(iTripPurpose)¶
- Parameters:
iTripPurpose –
GKTripPurpose
Set the trip purpose for this vector