public interface TrafficPerception extends LaneBasedPerceptionCategory
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
LinearDensity |
getDensity(RelativeLane lane)
Returns the perceived density on the given lane.
|
Speed |
getSpeed(RelativeLane lane)
Returns the perceived speed on the given lane.
|
default void |
updateAll() |
Speed getSpeed(RelativeLane lane) throws ParameterException
lane - RelativeLane; laneParameterException - on parameter exceptionLinearDensity getDensity(RelativeLane lane) throws ParameterException
lane - RelativeLane; laneParameterException - on parameter exceptiondefault void updateAll()
updateAll in interface PerceptionCategory<LaneBasedGTU,LanePerception>Copyright © 2014–2019 Delft University of Technology. All rights reserved.