Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
void
Adds an iterable for a lane.
perceive (U object,
org.djunits.value.vdouble.scalar.Length distance)
Returns a perceived version of the underlying object.
Returns the primary iterator.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
MultiLanePerceptionIterable
public MultiLanePerceptionIterable (P perceivingObject)
Constructor.
Parameters:
perceivingObject - perceiving object
Method Details
addIterable
Adds an iterable for a lane.
Parameters:
lane - lane
iterable - iterable
perceive
public H perceive (U object,
org.djunits.value.vdouble.scalar.Length distance)
throws GtuException ,
org.opentrafficsim.base.parameters.ParameterException
Returns a perceived version of the underlying object.
Specified by:
perceive in class AbstractPerceptionReiterable <P extends LaneBasedObject ,H extends Headway ,U >
Parameters:
object - underlying object
distance - distance to the object
Returns:
perceived version of the underlying object
Throws:
GtuException - on exception
org.opentrafficsim.base.parameters.ParameterException - on invalid parameter value or missing parameter