PyANGKernel.GKRealDataSetRestorerOnline

class GKRealDataSetRestorerOnline

Read flow data from two tables named AOPATTERNS and AOPATTERNVALUES

Details

the AOPATTERNS table columns are: id: pattern id start: start time in seconds duration: duration in seconds dataInterval: interval time in seconds

the AOPATTERNVALUES table columns are: id: pattern id sensor: detector external id type: it is always set to 2 (flow) mean: time series mean values high: time series upper bound values low: time series lower bound values

Inheritance diagram of PyANGKernel.GKRealDataSetRestorerOnline

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__()
createPatternDemand(iPatternId, iModel, iProblemNet, iCentroidConfiguration)
Parameters:
Return type:

GKTrafficDemand

getAlphas(iExecutionId, nbAlphas)
Parameters:
  • iExecutionId – int

  • nbAlphas – int

Return type:

.list of double

getDuration()
Return type:

GKTimeDuration

getExecutionDetectorSections(iExecutionNr, iModel)
Parameters:
  • iExecutionNr – int

  • iModelGKModel

Return type:

.list of int

getExecutionDetectors(iExecutionNr, iModel)
Parameters:
  • iExecutionNr – int

  • iModelGKModel

Return type:

.list of int

getIdPattern()
Return type:

int

getInterval()
Return type:

GKTimeDuration

getMaxMatrixId()
Return type:

int

getPatternIds(iExecutionNr)
Parameters:

iExecutionNr – int

Return type:

.list of int

getStartTime()
Return type:

QTime

init()
setDuration(value)
Parameters:

valueGKTimeDuration

setIdPattern(value)
Parameters:

value – int

setInterval(value)
Parameters:

valueGKTimeDuration

setPatternToRestore(idPattern)
Parameters:

idPattern – int

setStartTime(value)
Parameters:

valueQTime