public abstract class AbstractLanePerception extends org.opentrafficsim.core.gtu.perception.AbstractPerception implements LanePerception
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.
Constructor and Description |
---|
AbstractLanePerception(LaneBasedGTU gtu)
Create a new LanePerception module.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
getGtu() |
LaneStructure |
getLaneStructure() |
addPerceptionCategory, contains, getPerceptionCategory, perceive, removePerceptionCategory, toString
public AbstractLanePerception(LaneBasedGTU gtu)
gtu
- GTUpublic final LaneBasedGTU getGtu()
getGtu
in interface org.opentrafficsim.core.gtu.perception.Perception
getGtu
in interface LanePerception
getGtu
in class org.opentrafficsim.core.gtu.perception.AbstractPerception
public final LaneStructure getLaneStructure() throws org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
getLaneStructure
in interface LanePerception
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- if parameter is not definedCopyright © 2014–2017 Delft University of Technology. All rights reserved.