averbraeck / opentrafficsim

Open Source Multi-Level Traffic Simulator
BSD 3-Clause "New" or "Revised" License
28 stars 8 forks source link

Detector aggregated data per GTU type #93

Open WJSchakel opened 8 months ago

WJSchakel commented 8 months ago

The class LoopDetector now aggregates all data. It is convenient to also separate this information per GTU type.

WJSchakel commented 8 months ago

What is maybe a better way to deal with this, is to capture this in the DetectorType which has a compatibility with GTU types. At the same location, different detectors can be placed that use different DetectorTypes to gather information for different GTU types. To reflect this information back in the table data, the DetectorType can be added as a column.