PyDistributionPlugin.GravityModelParams

class GravityModelParams

GravityModelParams : parameters for the Gravity Model of the DistributionExperiment.

Details

*

Inheritance diagram of PyDistributionPlugin.GravityModelParams

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__()
getDeterrenceFunction()
Return type:

GKFunctionCost

In the gravity model, gets the ID of the Deterrence function chosen

getMaxEpsilon()
Return type:

float

In the gravity model, gets the upper bound to the maximum relative variation between the trips calculated and the input Generation/Attraction vector.

getMaxIterations()
Return type:

int

In the gravity model, gets the maximum number of iterations of the balancing method

setDeterrenceFunction(iDeterrenceFunction)
Parameters:

iDeterrenceFunctionGKFunctionCost

In the gravity model, sets the ID of the Deterrence function chosen

setMaxEpsilon(ierror)
Parameters:

ierror – float

In the gravity model, sets the upper bound to the maximum relative variation between the trips calculated and the input Generation/Attraction vector.

setMaxIterations(_iterations)
Parameters:

_iterations – int

In the gravity model, sets the maximum number of iterations of the balancing method