PyANGKernel.GKDetectorStation¶
- class GKDetectorStation¶
The
GKDetectorStationclassDetails
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.
Synopsis¶
Methods¶
def
__init__()def
addDetector()def
clearDetectors()def
getDetectors()def
getPoints()def
removeDetector()def
updatePoints()
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:
detector –
GKDetector
*
adds a detector * UnknownCommand detector reference. The pointer is adopted
- clearDetectors()¶
*
removes all detectors from the station
- containsDetector(detector)¶
- Parameters:
detector –
GKDetector- Return type:
*
checks if the provided detector belongs to the station or not * UnknownCommand detector reference
*
returns whether the detector station cover the same lane by 2 or more detectors.
*
Get the aggregated Columns created from their Detectors. * UnknownCommand None
- getDetectors()¶
- Return type:
.list of GKDetector
*
returns all detectors in the station
*
returns the polygon points that contains all detectors
*
refreshStatistics calculates the aggregated statistics for the originator provided * UnknownCommand originator it can be a replication or a real data set
- removeDetector(detector)¶
- Parameters:
detector –
GKDetector
*
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.