PyDistributionPlugin.GravityModelParams¶
- class GravityModelParams¶
GravityModelParams: parameters for the Gravity Model of the DistributionExperiment.Details
*
Synopsis¶
Methods¶
def
__init__()def
getMaxEpsilon()def
setMaxEpsilon()
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
In the gravity model, gets the upper bound to the maximum relative variation between the trips calculated and the input Generation/Attraction vector.
In the gravity model, gets the maximum number of iterations of the balancing method
- setDeterrenceFunction(iDeterrenceFunction)¶
- Parameters:
iDeterrenceFunction –
GKFunctionCost
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