Class CategoricalLanePerception
java.lang.Object
org.opentrafficsim.core.gtu.perception.AbstractPerception<LaneBasedGTU>
org.opentrafficsim.road.gtu.lane.perception.AbstractLanePerception
org.opentrafficsim.road.gtu.lane.perception.CategoricalLanePerception
- All Implemented Interfaces:
java.io.Serializable
,Perception<LaneBasedGTU>
,LanePerception
public class CategoricalLanePerception extends AbstractLanePerception
Standard perception completely based on connected perception categories.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Jul 29, 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.opentrafficsim.road.gtu.lane.perception.AbstractLanePerception
LOOKAHEAD, LOOKBACK, PERCEPTION
-
Constructor Summary
Constructors Constructor Description CategoricalLanePerception(LaneBasedGTU gtu)
CategoricalLanePerception(LaneBasedGTU gtu, Mental mental)
-
Method Summary
Modifier and Type Method Description java.lang.String
toString()
Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.AbstractLanePerception
getLaneStructure, getMental, perceive
Methods inherited from class org.opentrafficsim.core.gtu.perception.AbstractPerception
addPerceptionCategory, contains, getGtu, getPerceptionCategory, getPerceptionCategoryOrNull, removePerceptionCategory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentrafficsim.core.gtu.perception.Perception
addPerceptionCategory, contains, getPerceptionCategory, getPerceptionCategoryOrNull, removePerceptionCategory
-
Constructor Details
-
CategoricalLanePerception
- Parameters:
gtu
- LaneBasedGTU; GTU
-
CategoricalLanePerception
- Parameters:
gtu
- LaneBasedGTU; GTUmental
- Mental; Mental
-
-
Method Details
-
toString
public final java.lang.String toString()- Overrides:
toString
in classAbstractPerception<LaneBasedGTU>
-