PyPTAdjustmentPlugin.MacroPTAdjustmentResult

class MacroPTAdjustmentResult

The MacroPTAdjustmentResult class

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__()
findState(iUserClass, iOrigin, iDestination)
Parameters:
  • iUserClassGKUserClass

  • iOriginGKCentroid

  • iDestinationGKCentroid

Return type:

PTResultAdjustmentState

getAdjustedObservationValues()
Return type:

.list of double

getAdjustedStateValues()
Return type:

.list of double

getCheckSum()
Return type:

float

getIterationInfo()
Return type:

.list of MacroIterationInfo

getNumberOfStates()
Return type:

int

getObservationObjects(model)
Parameters:

modelGKModel

Return type:

.list of GKObject

getObservations()
Return type:

.list of PTResultObservation

getOriginalObservationValues()
Return type:

.list of double

getOriginalStateValues()
Return type:

.list of double

getState(iIndex)
Parameters:

iIndex – int

Return type:

PTResultAdjustmentState

getStates()
Return type:

.std.vectorPTResultAdjustmentState

getUsers()
Return type:

.list of GKUserClass

hasResults()
Return type:

bool

publishAdjustedDemand(iModel)
Parameters:

iModelGKModel

Return type:

GKTrafficDemand

publishMatrix(iUser, iCreateInModel)
Parameters:
  • iUserGKUserClass

  • iCreateInModel – bool

Return type:

GKODMatrix

restore(iStream, iModel)
Parameters:
Return type:

bool

setCentroidConfiguration(iCentroidConfiguration)
Parameters:

iCentroidConfigurationGKCentroidConfiguration

setExperiment(iExperiment)
Parameters:

iExperimentMacroPTAdjustmentExperiment

setIterationInfo(iterationInfo)
Parameters:

iterationInfo – .list of MacroIterationInfo

setStates(iStates)
Parameters:

iStates – .std.vectorPTResultAdjustmentState

store(iStream)
Parameters:

iStreamQDataStream