public interface IntersectionPerception 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 |
|---|---|
PerceptionCollectable<HeadwayConflict,Conflict> |
getConflicts(RelativeLane lane)
Returns a set of conflicts along the route.
|
Iterable<HeadwayTrafficLight> |
getTrafficLights(RelativeLane lane)
Returns a set of traffic lights along the route.
|
boolean |
isAlongsideConflictLeft()
Returns whether there is a conflict alongside to the left.
|
boolean |
isAlongsideConflictRight()
Returns whether there is a conflict alongside to the right.
|
updateAllIterable<HeadwayTrafficLight> getTrafficLights(RelativeLane lane)
lane - RelativeLane; lanePerceptionCollectable<HeadwayConflict,Conflict> getConflicts(RelativeLane lane)
lane - RelativeLane; laneboolean isAlongsideConflictLeft()
boolean isAlongsideConflictRight()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.