Class DirectBusStopPerception
java.lang.Object
org.opentrafficsim.core.gtu.perception.AbstractPerceptionCategory<LaneBasedGtu,LanePerception>
org.opentrafficsim.road.gtu.perception.categories.DirectBusStopPerception
- All Implemented Interfaces:
Type<AbstractPerceptionCategory<LaneBasedGtu,,LanePerception>> PerceptionCategory<LaneBasedGtu,,LanePerception> BusStopPerception,LaneBasedPerceptionCategory
public class DirectBusStopPerception
extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception>
implements BusStopPerception
Bus stop perception.
Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ParameterTypeLengthLook ahead parameter type. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opentrafficsim.core.gtu.perception.AbstractPerceptionCategory
cacheAsString, computeIfAbsent, computeIfAbsent, computeIfAbsent, getGtu, getPerception, getTimestamp
-
Field Details
-
LOOKAHEAD
Look ahead parameter type.
-
-
Constructor Details
-
DirectBusStopPerception
Constructor.- Parameters:
perception- perception
-
-
Method Details
-
getBusStops
Description copied from interface:BusStopPerceptionReturns the bus stops.- Specified by:
getBusStopsin interfaceBusStopPerception- Returns:
- bus stops
-
computeBusStops
Returns bus stops.- Returns:
- bus stops
-
toString
-