PyLandUsePlugin.GKGenerationAttractionVector

class GKGenerationAttractionVector

Generation/Attraction data by centroid

Inheritance diagram of PyLandUsePlugin.GKGenerationAttractionVector

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__()
clearValues()

Set the generated/attracted trip of each centroid to 0.0

getAttractedValue(cent)
Parameters:

centGKCentroid

Return type:

float

Attracted value for a centroid

getAttractedValues()
Return type:

GKCentroidVector

Get the attracted values as a vector

getCarAvailability()
Return type:

int

Get Car availability

getCentroidConfiguration()
Return type:

GKCentroidConfiguration

Get the centroid configuration

getGeneratedValue(cent)
Parameters:

centGKCentroid

Return type:

float

Generated value for a centroid

getGeneratedValues()
Return type:

GKCentroidVector

Get the generated values as a vector

getModes()
Return type:

.list of GKTransportationMode

getTimePeriod()
Return type:

GKTimePeriod

Get the time period for this vector

getTripPurpose()
Return type:

GKTripPurpose

Get the trip purpose for this vector

getUserClasses()
Return type:

.list of GKUserClass

get the needed user classes and generates missing user classes

isEmpty()
Return type:

bool

setAttractedValue(cent, value)
Parameters:

Attracted value for a centroid

setCarAvailability(iCarAvailability)
Parameters:

iCarAvailability – int

Set Car availability

setCentroidConfiguration(cent)
Parameters:

centGKCentroidConfiguration

Set (when created) the centroid configuration of this vector.

setGeneratedValue(cent, value)
Parameters:

Generated value for a centroid

setIsEmpty(isEmpty)
Parameters:

isEmpty – bool

setModes(iModes)
Parameters:

iModes – .list of GKTransportationMode

setTimePeriod(timePeriod)
Parameters:

timePeriodGKTimePeriod

Set the time period for this vector

setTripPurpose(iTripPurpose)
Parameters:

iTripPurposeGKTripPurpose

Set the trip purpose for this vector