Class HeadwayGtuPerceived
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadway
org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadwayCopy
org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadwayGtu
org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuRealCopy
org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuPerceived
- All Implemented Interfaces:
Serializable
,Comparable<Headway>
,org.djutils.base.Identifiable
,PerceivedObject
,Headway
,HeadwayGtu
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opentrafficsim.road.gtu.lane.perception.headway.Headway
Headway.ObjectType
-
Constructor Summary
ConstructorDescriptionHeadwayGtuPerceived
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration) HeadwayGtuPerceived
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration) -
Method Summary
Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuRealCopy
getCarFollowingModel, getParameters, getRoute, getSpeedLimitInfo, moved, toString
Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadwayGtu
getDesiredSpeed, getGtuStatus, getGtuStatuses, getGtuType, getSpeedLimitInfo, getWidth, isBrakingLightsOn, isEmergencyLightsOn, isFacingSameDirection, isHonking, isLeftTurnIndicatorOn, isRightTurnIndicatorOn
Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadwayCopy
equals, getAcceleration, getId, getLength, getObjectType, getSpeed, hashCode
Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadway
getDistance, getOverlap, getOverlapFront, getOverlapRear, isAhead, isBehind, isParallel
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentrafficsim.road.gtu.lane.perception.headway.Headway
compareTo, getAcceleration, getDistance, getId, getLength, getObjectType, getOverlap, getOverlapFront, getOverlapRear, getSpeed, isAhead, isBehind, isParallel
-
Constructor Details
-
HeadwayGtuPerceived
public HeadwayGtuPerceived(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration) throws GtuException - Parameters:
gtu
- LaneBasedGtu; gtudistance
- Length; distancespeed
- Speed; speedacceleration
- Acceleration; acceleration- Throws:
GtuException
- ...
-
HeadwayGtuPerceived
public HeadwayGtuPerceived(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration) throws GtuException - Parameters:
gtu
- LaneBasedGtu; gtuoverlapFront
- Length; the overlap over the front of the GTUoverlap
- Length; ???overlapRear
- Length; the overlap over the rear of the GTUspeed
- Speed; speedacceleration
- Acceleration; acceleration- Throws:
GtuException
- ...
-