public class DefaultCaccSensors extends Object implements HeadwayGtuType
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.
HeadwayGtuType.PerceivedHeadwayGtuTypeCOPY, WRAP| Constructor and Description |
|---|
DefaultCaccSensors() |
| Modifier and Type | Method and Description |
|---|---|
HeadwayGTU |
createDownstreamGtu(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
Length distance)
Creates a headway object from a GTU, downstream.
|
HeadwayGTU |
createParallelGtu(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
Length overlapFront,
Length overlap,
Length overlapRear)
Creates a headway object from a GTU, parallel.
|
HeadwayGTU |
createUpstreamGtu(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
Length distance)
Creates a headway object from a GTU, downstream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateHeadwayGtupublic HeadwayGTU createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance) throws GTUException, ParameterException
createDownstreamGtu in interface HeadwayGtuTypeperceivingGtu - LaneBasedGTU; perceiving GTUperceivedGtu - LaneBasedGTU; perceived GTUdistance - Length; distanceGTUException - when headway object cannot be createdParameterException - on invalid parameter value or missing parameterpublic HeadwayGTU createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance) throws GTUException, ParameterException
createUpstreamGtu in interface HeadwayGtuTypeperceivingGtu - LaneBasedGTU; perceiving GTUperceivedGtu - LaneBasedGTU; perceived GTUdistance - Length; distanceGTUException - when headway object cannot be createdParameterException - on invalid parameter value or missing parameterpublic HeadwayGTU createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear) throws GTUException
createParallelGtu in interface HeadwayGtuTypeperceivingGtu - LaneBasedGTU; perceiving GTUperceivedGtu - LaneBasedGTU; perceived GTUoverlapFront - Length; front overlapoverlap - Length; overlapoverlapRear - Length; rear overlapGTUException - when headway object cannot be createdCopyright © 2014–2019 Delft University of Technology. All rights reserved.