PyMacroAdjustmentPlugin.MacroAdjustmentOutput

class MacroAdjustmentOutput

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__()
addAdjustedTrip(origin, destination, user, value)
Parameters:
addMeasurementUserClass(user)
Parameters:

userGKUserClass

addUnAdjustedTrip(origin, destination, user, value)
Parameters:
addUnAdjustedUserClass(user)
Parameters:

userGKUserClass

addUserClass(user)
Parameters:

userGKUserClass

createMacroAssignment(iModel, iExperiment)
Parameters:
Return type:

MacroExperiment

createUserMatrix(iCenConfig, user, tempObject)
Parameters:
Return type:

GKODMatrix

getAdjustedTripLengthDeviation(user)
Parameters:

userGKUserClass

Return type:

float

getAdjustedTripLengthMean(user)
Parameters:

userGKUserClass

Return type:

float

getAdjustedTrips(origin, destination, user)
Parameters:
Return type:

float

getAdjustedVolumes(type)
Parameters:

typeMeasurementType

Return type:

Dictionary with keys of type .MeasurementObject and values of type double.

getExperiment()
Return type:

MacroAdjustmentExperiment

getIterationLog()
Return type:

MacroAdjustmentIterationLog

getMeasurementUserClasses()
Return type:

.list of GKUserClass

getOriginalTripLengthDeviation(user)
Parameters:

userGKUserClass

Return type:

float

getOriginalTripLengthDistribution(user)
Parameters:

userGKUserClass

Return type:

.std.vectordouble

getOriginalTripLengthMean(user)
Parameters:

userGKUserClass

Return type:

float

getOriginalVolumes(type)
Parameters:

typeMeasurementType

Return type:

Dictionary with keys of type .MeasurementObject and values of type double.

getTotalAdjustedTrips(user)
Parameters:

userGKUserClass

Return type:

float

getTotalUnAdjustedTrips(user)
Parameters:

userGKUserClass

Return type:

float

getTripLengthBinSize(user)
Parameters:

userGKUserClass

Return type:

float

getTripLengthDistribution(user)
Parameters:

userGKUserClass

Return type:

.std.vectordouble

getUnAdjustedTrip(origin, destination, user)
Parameters:
Return type:

float

getUnAdjustedUserClasses()
Return type:

.list of GKUserClass

getUsedCentroidConfiguration(iModel)
Parameters:

iModelGKModel

Return type:

GKCentroidConfiguration

getUserClasses()
Return type:

.list of GKUserClass

getVersion()
Return type:

int

hasTripLengthDistribution(user)
Parameters:

userGKUserClass

Return type:

bool

publishAdjustedDemand(iModel)
Parameters:

iModelGKModel

Return type:

GKTrafficDemand

publishMatrices(iModel, temporaryObject)
Parameters:
  • iModelGKModel

  • temporaryObject – bool

Return type:

.list of GKODMatrix

restore(s, model)
Parameters:
Return type:

bool

setAdjustedTripLengthDeviation(user, deviation)
Parameters:
setAdjustedTripLengthMean(user, mean)
Parameters:
setExperiment(iExperiment)
Parameters:

iExperimentMacroAdjustmentExperiment

setIterationLog(iIterationLog)
Parameters:

iIterationLogMacroAdjustmentIterationLog

setOriginalTripLengthDeviation(user, deviation)
Parameters:
setOriginalTripLengthDistribution(user, distribution)
Parameters:
  • userGKUserClass

  • distribution – .std.vectordouble

setOriginalTripLengthMean(user, mean)
Parameters:
setTripLengthBinSize(user, binSize)
Parameters:
setTripLengthDistribution(user, distribution)
Parameters:
  • userGKUserClass

  • distribution – .std.vectordouble

store(s)
Parameters:

sQDataStream