PyLandUsePlugin.GKGenerationAttractionDataSet¶
- class GKGenerationAttractionDataSet¶
A generation attraction data set
Synopsis¶
Methods¶
def
__init__()def
addAttribute()def
doBalancing()def
getAttributes()def
getData()def
getProblemNet()def
getValue()def
removeData()def
setData()def
setDoBalancing()def
setProblemNet()def
setValue()
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__()¶
- addAttribute(iAttribute)¶
- Parameters:
iAttribute –
GKGenerationAttractionDataSetAttribute
- checkCreateData(centroid)¶
- Parameters:
centroid –
GKCentroid
- containsAttribute(iAttribute)¶
- Parameters:
iAttribute –
GKGenerationAttractionDataSetAttribute- Return type:
- doBalancing(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type:
- getAttributes()¶
- Return type:
Note
This function is deprecated.
- getAverageHousehold(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type:
- getCarAvailabilityData(centroid, purposeId)¶
- Parameters:
centroid –
GKCentroidpurposeId – int
- Return type:
- getCarOwnership(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type:
- getCentroidConfiguration()¶
- Return type:
GKCentroidConfiguration
- getData(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type:
- getExternalData(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type:
.list of ExternalData
- getExternalData(centroid, purpose, mode, period, found)
- Parameters:
centroid –
GKCentroidpurpose – int
mode – int
period – int
found – bool
- Return type:
.std.pairdouble,double
- getProblemNet()¶
- Return type:
GKProblemNet
Returns the Subnetwork for this demand (if any).
- getTripGenerationArea(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type:
- getValue(centroid, attr)¶
- Parameters:
centroid –
GKCentroid
- Return type:
- removeAttribute(iAttribute)¶
- Parameters:
iAttribute –
GKGenerationAttractionDataSetAttribute
- removeData(centroid)¶
- Parameters:
centroid –
GKCentroid
- setAttributeData(centroid, attr, iValue)¶
- Parameters:
centroid –
GKCentroidiValue – float
- setAttributesData(centroid, iAttributesData)¶
- Parameters:
centroid –
GKCentroidiAttributesData – Dictionary with keys of type .GKGenerationAttractionDataSetAttribute and values of type double.
- setAverageHousehold(centroid, iAverageHousehold)¶
- Parameters:
centroid –
GKCentroidiAverageHousehold – float
- setCarAvailabilityData(centroid, iCAData)¶
- Parameters:
centroid –
GKCentroidiCAData – .list of CAData
- setCarAvailabilityData(centroid, purposeId, iValue)
- Parameters:
centroid –
GKCentroidpurposeId – int
iValue – float
- setCarOwnership(centroid, iCarOwnership)¶
- Parameters:
centroid –
GKCentroidiCarOwnership – int
- setCentroidConfiguration(iCentroidConfiguration)¶
- Parameters:
iCentroidConfiguration –
GKCentroidConfiguration
- setData(centroid, data)¶
- Parameters:
centroid –
GKCentroid
Does not take ownership of data
- setDoBalancing(centroid, iBalancing)¶
- Parameters:
centroid –
GKCentroidiBalancing – bool
- setExternalData(centroid, iExternalData)¶
- Parameters:
centroid –
GKCentroidiExternalData – .list of ExternalData
- setExternalData(centroid, purpose, mode, period, arrivals, departures)
- Parameters:
centroid –
GKCentroidpurpose – int
mode – int
period – int
arrivals – float
departures – float
- setProblemNet(pn)¶
- Parameters:
pn –
GKProblemNet
Sets the Subnetwork for this demand (if any).
- setTripGenerationArea(centroid, area)¶
- Parameters:
centroid –
GKCentroid
- setUseExternalData(centroid, iExternalData)¶
- Parameters:
centroid –
GKCentroidiExternalData – bool
- setValue(centroid, attr, iValue)¶
- Parameters:
centroid –
GKCentroidiValue – float
- useExternalData(centroid)¶
- Parameters:
centroid –
GKCentroid- Return type: