Class LaneDirectionRecord

java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.LaneDirectionRecord
All Implemented Interfaces:
LaneRecord<LaneDirectionRecord>

public class LaneDirectionRecord
extends Object
implements LaneRecord<LaneDirectionRecord>
A light-weight wrapper for LaneRecord search tools (PerceptionIterator). This is suitable for situations where parts of the network not in the LaneStructure need to be perceived, such as conflicting lanes at intersection conflicts. Searches can only be simple upstream or downstream searches, without lateral movement and without regard of a route. This class should not be used whenever the LaneStructure can be used, as this class builds up a new tree each time step.

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 19 feb. 2018
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel