public static class CarFollowingUtil.CarFollowingHeadway extends AbstractHeadway
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.
Headway.ObjectType
Constructor and Description |
---|
CarFollowingHeadway(org.djunits.value.vdouble.scalar.Length headway,
org.djunits.value.vdouble.scalar.Speed speed)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Acceleration |
getAcceleration() |
String |
getId() |
org.djunits.value.vdouble.scalar.Length |
getLength() |
Headway.ObjectType |
getObjectType() |
org.djunits.value.vdouble.scalar.Speed |
getSpeed() |
equals, getDistance, getOverlap, getOverlapFront, getOverlapRear, hashCode, isAhead, isBehind, isParallel, toString
public CarFollowingHeadway(org.djunits.value.vdouble.scalar.Length headway, org.djunits.value.vdouble.scalar.Speed speed) throws org.opentrafficsim.core.gtu.GTUException
headway
- Length; distance to the leaderspeed
- Speed; leader speedorg.opentrafficsim.core.gtu.GTUException
- on exceptionpublic String getId()
public org.djunits.value.vdouble.scalar.Length getLength()
public org.djunits.value.vdouble.scalar.Speed getSpeed()
public Headway.ObjectType getObjectType()
public org.djunits.value.vdouble.scalar.Acceleration getAcceleration()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.