PyANGKernel.GKDetectorStation

class GKDetectorStation

The GKDetectorStation class

Details

Functional class for Aimsun Online that groups detectors into a station. The detectors must be placed in the same section and may not cover all lanes.

Inheritance diagram of PyANGKernel.GKDetectorStation

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__()
addDetector(detector)
Parameters:

detectorGKDetector

*

adds a detector * UnknownCommand detector reference. The pointer is adopted

clearDetectors()

*

removes all detectors from the station

containsDetector(detector)
Parameters:

detectorGKDetector

Return type:

bool

*

checks if the provided detector belongs to the station or not * UnknownCommand detector reference

coversRepeatedLanes()
Return type:

bool

*

returns whether the detector station cover the same lane by 2 or more detectors.

getAggregatesColumns()
Return type:

.list of GKColumn

*

Get the aggregated Columns created from their Detectors. * UnknownCommand None

getDetectors()
Return type:

.list of GKDetector

*

returns all detectors in the station

getPoints()
Return type:

GKPoints

*

returns the polygon points that contains all detectors

refreshStatistics(originator)
Parameters:

originatorGKObject

*

refreshStatistics calculates the aggregated statistics for the originator provided * UnknownCommand originator it can be a replication or a real data set

removeDetector(detector)
Parameters:

detectorGKDetector

*

removeDetector removes the detector reference if it belongs to the station * UnknownCommand detector to be removed

updatePoints()

* Update the points of the station to cover all the detectors of the group.