public interface HeadwayGTU extends Headway
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
Modifier and Type | Method and Description |
---|---|
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics |
getBehavioralCharacteristics()
Many models that observe a GTU need to predict the imminent behavior of that GTU.
|
CarFollowingModel |
getCarFollowingModel()
Many models that observe a GTU need to predict the imminent behavior of that GTU.
|
org.opentrafficsim.core.gtu.GTUType |
getGtuType() |
org.opentrafficsim.core.network.route.Route |
getRoute()
Models responding to other GTU may assume a route of the vehicle, for instance at intersections.
|
SpeedLimitInfo |
getSpeedLimitInfo()
Many models that observe a GTU need to predict the imminent behavior of that GTU.
|
boolean |
isBrakingLightsOn() |
boolean |
isEmergencyLightsOn() |
boolean |
isFacingSameDirection() |
boolean |
isHonking() |
boolean |
isLeftTurnIndicatorOn() |
boolean |
isRightTurnIndicatorOn() |
HeadwayGTU |
moved(org.djunits.value.vdouble.scalar.Length headway,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Acceleration acceleration)
Creates a copy with different headway, speed and possibly acceleration.
|
compareTo, getAcceleration, getDistance, getId, getLength, getObjectType, getOverlap, getOverlapFront, getOverlapRear, getSpeed, isAhead, isBehind, isParallel
org.opentrafficsim.core.gtu.GTUType getGtuType()
boolean isFacingSameDirection()
boolean isBrakingLightsOn()
boolean isLeftTurnIndicatorOn()
boolean isRightTurnIndicatorOn()
boolean isEmergencyLightsOn()
boolean isHonking()
HeadwayGTU moved(org.djunits.value.vdouble.scalar.Length headway, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration)
headway
- headwayspeed
- speedacceleration
- accelerationCarFollowingModel getCarFollowingModel()
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics getBehavioralCharacteristics()
SpeedLimitInfo getSpeedLimitInfo()
org.opentrafficsim.core.network.route.Route getRoute()
null
if simply not known/estimated.Copyright © 2014–2017 Delft University of Technology. All rights reserved.