public interface TrafficPerception extends LaneBasedPerceptionCategory
Copyright (c) 2013-2017 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 |
|---|---|
org.djunits.value.vdouble.scalar.LinearDensity |
getDensity(RelativeLane lane)
Returns the perceived density on the given lane.
|
org.djunits.value.vdouble.scalar.Speed |
getSpeed(RelativeLane lane)
Returns the perceived speed on the given lane.
|
default void |
updateAll() |
org.djunits.value.vdouble.scalar.Speed getSpeed(RelativeLane lane) throws org.opentrafficsim.base.parameters.ParameterException
lane - RelativeLane; laneorg.opentrafficsim.base.parameters.ParameterException - on parameter exceptionorg.djunits.value.vdouble.scalar.LinearDensity getDensity(RelativeLane lane) throws org.opentrafficsim.base.parameters.ParameterException
lane - RelativeLane; laneorg.opentrafficsim.base.parameters.ParameterException - on parameter exceptiondefault void updateAll()
updateAll in interface org.opentrafficsim.core.gtu.perception.PerceptionCategory<LaneBasedGTU,LanePerception>Copyright © 2014–2018 Delft University of Technology. All rights reserved.