Class Segment
-
- All Implemented Interfaces:
-
tools.aqua.stars.core.types.SegmentType
public final class Segment implements SegmentType<Actor, TickData, Segment, TickDataUnitSeconds, TickDataDifferenceSeconds>
Evaluation segment.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<TickData>tickDataprivate final Map<TickDataUnitSeconds, TickData>ticksprivate final IntegerprimaryEntityIdprivate final List<Integer>vehicleIdsprivate final List<Integer>pedestrianIdsprivate final List<TickData>mainInitListprivate final StringsimulationRunIdprivate final StringsegmentSource
-
Method Summary
Modifier and Type Method Description List<TickData>getTickData()Map<TickDataUnitSeconds, TickData>getTicks()IntegergetPrimaryEntityId()final List<Integer>getVehicleIds()final List<Integer>getPedestrianIds()final List<TickData>getMainInitList()TickData of the Segment. final StringgetSimulationRunId()Identifier of the simulation run. StringgetSegmentSource()Source identifier. final StringtoString(Integer egoId)Converts segment to String representation including tickData range and given egoId. StringtoString()Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getTickData
List<TickData> getTickData()
-
getTicks
Map<TickDataUnitSeconds, TickData> getTicks()
-
getPrimaryEntityId
Integer getPrimaryEntityId()
-
getVehicleIds
final List<Integer> getVehicleIds()
-
getPedestrianIds
final List<Integer> getPedestrianIds()
-
getMainInitList
final List<TickData> getMainInitList()
-
getSimulationRunId
final String getSimulationRunId()
Identifier of the simulation run.
-
getSegmentSource
String getSegmentSource()
Source identifier.
-
toString
final String toString(Integer egoId)
- Parameters:
egoId- Identifier of the ego vehicle to be included.
-
-
-
-