PyLandUsePlugin.GKGenerationAttractionCentroidType¶
- class GKGenerationAttractionCentroidType¶
An object to classify centroids according to their G/A Type. Contains the G/A Factors.
Synopsis¶
Methods¶
def
__init__()def
getGAFactors()def
setGAFactors()
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__()¶
- getGAFactors(dataSet, variableId, timePeriodId, modeId, purposeId)¶
- Parameters:
dataSet –
GKGenerationAttractionDataSetvariableId – int
timePeriodId – int
modeId – int
purposeId – int
- Return type:
.std.pairdouble,double
Gets the Generation Factor and Attraction Factor for the given Land Use Data Set, Attribute, Time Period, Transportation Mode and Trip Purpose.
- getGenerationAttractionData(arg__1)¶
- Parameters:
arg__1 –
GKGenerationAttractionDataSet- Return type:
.list of GKGenerationAttractionData
- setGAFactors(dataSet, variableId, timePeriodId, modeId, purposeId, generation, attraction)¶
- Parameters:
dataSet –
GKGenerationAttractionDataSetvariableId – int
timePeriodId – int
modeId – int
purposeId – int
generation – float
attraction – float
Sets the Generation Factor and Attraction Factor for the given Land Use Data Set, Attribute, Time Period, Transportation Mode and Trip Purpose.
- setGenerationAttractionData(dataSet, _data)¶
- Parameters:
dataSet –
GKGenerationAttractionDataSet_data – .list of GKGenerationAttractionData