H - headway typeU - underlying headway typepublic class MultiLanePerceptionIterable<H extends Headway,U> extends AbstractPerceptionReiterable<H,U>
 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.
 
AbstractPerceptionReiterable.PerceptionIterator, AbstractPerceptionReiterable.PrimaryIteratorEntryPerceptionCollectable.Intermediate<I>, PerceptionCollectable.PerceptionAccumulator<U,I>, PerceptionCollectable.PerceptionCollector<C,U,I>, PerceptionCollectable.PerceptionFinalizer<C,I>| Constructor and Description | 
|---|
MultiLanePerceptionIterable(LaneBasedGTU perceivingGtu)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addIterable(RelativeLane lane,
           AbstractPerceptionReiterable<H,U> iterable)
Adds an iterable for a lane. 
 | 
H | 
perceive(LaneBasedGTU perceivingGtu,
        U object,
        Length distance)
Returns a perceived version of the underlying object. 
 | 
Iterator<AbstractPerceptionReiterable.PrimaryIteratorEntry> | 
primaryIterator()
Returns the primary iterator. 
 | 
collect, first, getGtu, isEmpty, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectforEach, spliteratorpublic MultiLanePerceptionIterable(LaneBasedGTU perceivingGtu)
perceivingGtu - LaneBasedGTU; perceiving GTUpublic void addIterable(RelativeLane lane, AbstractPerceptionReiterable<H,U> iterable)
lane - RelativeLane; laneiterable - AbstractPerceptionReiterable<H, U>; iterablepublic Iterator<AbstractPerceptionReiterable.PrimaryIteratorEntry> primaryIterator()
primaryIterator in class AbstractPerceptionReiterable<H extends Headway,U>public H perceive(LaneBasedGTU perceivingGtu, U object, Length distance) throws GTUException, ParameterException
perceive in class AbstractPerceptionReiterable<H extends Headway,U>perceivingGtu - LaneBasedGTU; perceiving GTUobject - U; underlying objectdistance - Length; distance to the objectGTUException - on exceptionParameterException - on invalid parameter value or missing parameterCopyright © 2014–2019 Delft University of Technology. All rights reserved.