PyMacroModelPlugin.CMacroStatsManager

class CMacroStatsManager

Inheritance diagram of PyMacroModelPlugin.CMacroStatsManager

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__([iModelConnection=None])
Parameters:

iModelConnectionGKModelConnection

createTrafficState()
getConnectionCost(iUserClass, iConnection)
Parameters:
  • iUserClassGKUserClass

  • iConnectionGKCenConnection

Return type:

float

getConnectionCostComponent(iUserClass, iConnection, iComponent)
Parameters:
  • iUserClassGKUserClass

  • iConnectionGKCenConnection

  • iComponentGKFunctionComponent

Return type:

float

getConnectionToll(iUserClass, iConnection)
Parameters:
  • iUserClassGKUserClass

  • iConnectionGKCenConnection

Return type:

float

getConnectionVehicleVolume(iVehicle, iConnection)
Parameters:
  • iVehicleGKVehicle

  • iConnectionGKCenConnection

Return type:

float

getConnectionVolume(iUserClass, iConnection)
Parameters:
  • iUserClassGKUserClass

  • iConnectionGKCenConnection

Return type:

float

getDetectorVehicleVolume(iVehicle, iDetector)
Parameters:
  • iVehicleGKVehicle

  • iDetectorGKDetector

Return type:

float

getDetectorVolume(iUserClass, iDetector)
Parameters:
Return type:

float

getExperiment()
Return type:

MacroExperiment

getIterationsInfo()
Return type:

.list of MacroIterationInfo

getMeanOccupation(iUserId)
Parameters:

iUserId – int

Return type:

float

getRouteCost(iUserClass, iRoute)
Parameters:
Return type:

float

getRouteCostComponent(iUserClass, iRoute, iComponent)
Parameters:
  • iUserClassGKUserClass

  • iRouteGKRoute

  • iComponentGKFunctionComponent

Return type:

float

getRouteToll(iUserClass, iRoute)
Parameters:
Return type:

float

getRouteVehicleVolume(iVehicle, iRoute)
Parameters:
  • iVehicleGKVehicle

  • iRouteGKRoute

Return type:

float

getRouteVolume(iUserClass, iRoute)
Parameters:
Return type:

float

getSectionCost(iUserClass, iSection)
Parameters:
Return type:

float

getSectionCost(_userclassId, _sectionId)
Parameters:
  • _userclassId – int

  • _sectionId – int

Return type:

float

getSectionCostComponent(iUserClass, iSection, iComponent)
Parameters:
  • iUserClassGKUserClass

  • iSectionGKSection

  • iComponentGKFunctionComponent

Return type:

float

getSectionOccupancy(iUserClass, iSection)
Parameters:
Return type:

float

getSectionOccupancy(_userClassId, _sectionId)
Parameters:
  • _userClassId – int

  • _sectionId – int

Return type:

float

getSectionToll(iUserClass, iSection)
Parameters:
Return type:

float

getSectionToll(_userclassId, _sectionId)
Parameters:
  • _userclassId – int

  • _sectionId – int

Return type:

float

getSectionVehicleVolume(iVehicle, iSection)
Parameters:
  • iVehicleGKVehicle

  • iSectionGKSection

Return type:

float

getSectionVolume(iUserClass, iSection)
Parameters:
Return type:

float

getSectionVolume(_userClassId, _sectionId)
Parameters:
  • _userClassId – int

  • _sectionId – int

Return type:

float

getSections()
Return type:

.list of int

Note

This function is deprecated.

getTotalConnectionCost(iConnection[, iWeightedByPCU=true])
Parameters:
  • iConnectionGKCenConnection

  • iWeightedByPCU – bool

Return type:

float

getTotalConnectionCostComponent(iConnection, iComponent[, iWeightedByPCU=true])
Parameters:
  • iConnectionGKCenConnection

  • iComponentGKFunctionComponent

  • iWeightedByPCU – bool

Return type:

float

getTotalConnectionToll(iConnection[, iWeightedByPCU=true])
Parameters:
  • iConnectionGKCenConnection

  • iWeightedByPCU – bool

Return type:

float

getTotalConnectionVolume(iConnection[, iWeightedByPCU=true])
Parameters:
  • iConnectionGKCenConnection

  • iWeightedByPCU – bool

Return type:

float

getTotalCost(iUserId)
Parameters:

iUserId – int

Return type:

float

getTotalCostComponent(iComponent, iUserId)
Parameters:
  • iComponentGKFunctionComponent

  • iUserId – int

Return type:

float

getTotalDetectorVolume(iDetector[, iWeightedByPCU=true])
Parameters:
  • iDetectorGKDetector

  • iWeightedByPCU – bool

Return type:

float

getTotalRouteCost(iRoute[, iWeightedByPCU=true])
Parameters:
  • iRouteGKRoute

  • iWeightedByPCU – bool

Return type:

float

getTotalRouteCostComponent(iRoute, iComponent[, iWeightedByPCU=true])
Parameters:
  • iRouteGKRoute

  • iComponentGKFunctionComponent

  • iWeightedByPCU – bool

Return type:

float

getTotalRouteToll(iRoute[, iWeightedByPCU=true])
Parameters:
  • iRouteGKRoute

  • iWeightedByPCU – bool

Return type:

float

getTotalRouteVolume(iRoute[, iWeightedByPCU=true])
Parameters:
  • iRouteGKRoute

  • iWeightedByPCU – bool

Return type:

float

getTotalSectionCost(iSection[, iWeightedByPCU=true])
Parameters:
  • iSectionGKSection

  • iWeightedByPCU – bool

Return type:

float

getTotalSectionCostComponent(iSection, iComponent[, iWeightedByPCU=true])
Parameters:
  • iSectionGKSection

  • iComponentGKFunctionComponent

  • iWeightedByPCU – bool

Return type:

float

getTotalSectionOccupancy(iSection)
Parameters:

iSectionGKSection

Return type:

float

getTotalSectionToll(iSection[, iWeightedByPCU=true])
Parameters:
  • iSectionGKSection

  • iWeightedByPCU – bool

Return type:

float

getTotalSectionVolume(iSection[, iWeightedByPCU=true])
Parameters:
  • iSectionGKSection

  • iWeightedByPCU – bool

Return type:

float

getTotalTrajectoryCost(iTrajectory[, iWeightedByPCU=true])
Parameters:
  • iTrajectoryGKSuperNodeTrajectory

  • iWeightedByPCU – bool

Return type:

float

getTotalTrajectoryCostComponent(iTrajectory, iComponent[, iWeightedByPCU=true])
Parameters:
  • iTrajectoryGKSuperNodeTrajectory

  • iComponentGKFunctionComponent

  • iWeightedByPCU – bool

Return type:

float

getTotalTrajectoryPercentage(iTrajectory[, iWeightedByPCU=true])
Parameters:
  • iTrajectoryGKSuperNodeTrajectory

  • iWeightedByPCU – bool

Return type:

float

getTotalTrajectoryToll(iTrajectory[, iWeightedByPCU=true])
Parameters:
  • iTrajectoryGKSuperNodeTrajectory

  • iWeightedByPCU – bool

Return type:

float

getTotalTrajectoryVolume(iTrajectory[, iWeightedByPCU=true])
Parameters:
  • iTrajectoryGKSuperNodeTrajectory

  • iWeightedByPCU – bool

Return type:

float

getTotalTurningCost(iTurning[, iWeightedByPCU=true])
Parameters:
  • iTurningGKTurning

  • iWeightedByPCU – bool

Return type:

float

getTotalTurningCostComponent(iTurning, iComponent[, iWeightedByPCU=true])
Parameters:
  • iTurningGKTurning

  • iComponentGKFunctionComponent

  • iWeightedByPCU – bool

Return type:

float

getTotalTurningPercentage(iTurning[, iWeightedByPCU=true])
Parameters:
  • iTurningGKTurning

  • iWeightedByPCU – bool

Return type:

float

getTotalTurningToll(iTurning[, iWeightedByPCU=true])
Parameters:
  • iTurningGKTurning

  • iWeightedByPCU – bool

Return type:

float

getTotalTurningVolume(iTurning[, iWeightedByPCU=true])
Parameters:
  • iTurningGKTurning

  • iWeightedByPCU – bool

Return type:

float

getTrajectoryCost(iUserClass, iTrajectory)
Parameters:
  • iUserClassGKUserClass

  • iTrajectoryGKSuperNodeTrajectory

Return type:

float

getTrajectoryCostComponent(iUserClass, iTrajectory, iComponent)
Parameters:
  • iUserClassGKUserClass

  • iTrajectoryGKSuperNodeTrajectory

  • iComponentGKFunctionComponent

Return type:

float

getTrajectoryPercentage(iUserClass, iTrajectory)
Parameters:
  • iUserClassGKUserClass

  • iTrajectoryGKSuperNodeTrajectory

Return type:

float

getTrajectoryToll(iUserClass, iTrajectory)
Parameters:
  • iUserClassGKUserClass

  • iTrajectoryGKSuperNodeTrajectory

Return type:

float

getTrajectoryVehicleVolume(iVehicle, iTrajectory)
Parameters:
  • iVehicleGKVehicle

  • iTrajectoryGKSuperNodeTrajectory

Return type:

float

getTrajectoryVolume(iUserClass, iTrajectory)
Parameters:
  • iUserClassGKUserClass

  • iTrajectoryGKSuperNodeTrajectory

Return type:

float

getTurningCost(iUserClass, iTurning)
Parameters:
Return type:

float

getTurningCost(_userclassId, _sectionId)
Parameters:
  • _userclassId – int

  • _sectionId – int

Return type:

float

getTurningCostComponent(iUserClass, iTurning, iComponent)
Parameters:
  • iUserClassGKUserClass

  • iTurningGKTurning

  • iComponentGKFunctionComponent

Return type:

float

getTurningPercentage(iUserClass, iTurning)
Parameters:
Return type:

float

getTurningPercentage(_userClassId, _turningId)
Parameters:
  • _userClassId – int

  • _turningId – int

Return type:

float

getTurningToll(iUserClass, iTurning)
Parameters:
Return type:

float

getTurningToll(_userclassId, _sectionId)
Parameters:
  • _userclassId – int

  • _sectionId – int

Return type:

float

getTurningVehicleVolume(iVehicle, iTurning)
Parameters:
  • iVehicleGKVehicle

  • iTurningGKTurning

Return type:

float

getTurningVolume(iUserClass, iTurning)
Parameters:
Return type:

float

getTurningVolume(_userClassId, _sectionId)
Parameters:
  • _userClassId – int

  • _sectionId – int

Return type:

float

getTurnings()
Return type:

.list of int

Note

This function is deprecated.

getUserClasses()
Return type:

.list of quint32

getUserIds()
Return type:

.list of int

getUsers()
Return type:

.list of GKUserClass

getVehicles()
Return type:

.list of GKVehicle

getVolumeDistance(iUserId)
Parameters:

iUserId – int

Return type:

float