public static class HeadwayGtuType.PerceivedHeadwayGtuType extends Object implements HeadwayGtuType
Copyright (c) 2013-2017 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 |
|---|
PerceivedHeadwayGtuType(Estimation estimation,
Anticipation anticipation)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HeadwayGTU |
createHeadwayGtu(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
org.djunits.value.vdouble.scalar.Length distance,
boolean downstream)
Creates a headway object from a GTU, downstream or upstream.
|
HeadwayGTU |
createHeadwayGtu(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
org.djunits.value.vdouble.scalar.Length overlapFront,
org.djunits.value.vdouble.scalar.Length overlap,
org.djunits.value.vdouble.scalar.Length overlapRear)
Creates a headway object from a GTU, parallel.
|
public PerceivedHeadwayGtuType(Estimation estimation, Anticipation anticipation)
estimation - Estimation; estimationanticipation - Anticipation; anticipationpublic HeadwayGTU createHeadwayGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream) throws org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.base.parameters.ParameterException
createHeadwayGtu in interface HeadwayGtuTypeperceivingGtu - perceiving GTUperceivedGtu - perceived GTUdistance - distancedownstream - downstream (or upstream) neighbororg.opentrafficsim.core.gtu.GTUException - when headway object cannot be createdorg.opentrafficsim.base.parameters.ParameterException - on invalid parameter value or missing parameterpublic HeadwayGTU createHeadwayGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear) throws org.opentrafficsim.core.gtu.GTUException
createHeadwayGtu in interface HeadwayGtuTypeperceivingGtu - perceiving GTUperceivedGtu - perceived GTUoverlapFront - front overlapoverlap - overlapoverlapRear - rear overlaporg.opentrafficsim.core.gtu.GTUException - when headway object cannot be createdCopyright © 2014–2018 Delft University of Technology. All rights reserved.