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>
,Identifiable
,PerceivedObject
,Headway
,HeadwayGTU
public class HeadwayGTUPerceived extends HeadwayGTURealCopy
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 5 apr. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opentrafficsim.road.gtu.lane.perception.headway.Headway
Headway.ObjectType
-
-
Constructor Summary
Constructors Constructor Description HeadwayGTUPerceived(LaneBasedGTU gtu, Length overlapFront, Length overlap, Length overlapRear, Speed speed, Acceleration acceleration)
HeadwayGTUPerceived(LaneBasedGTU gtu, Length distance, Speed speed, 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 Detail
-
HeadwayGTUPerceived
public HeadwayGTUPerceived(LaneBasedGTU gtu, Length distance, Speed speed, Acceleration acceleration) throws GTUException
- Parameters:
gtu
- LaneBasedGTU; gtudistance
- Length; distancespeed
- Speed; speedacceleration
- Acceleration; acceleration- Throws:
GTUException
- ...
-
HeadwayGTUPerceived
public HeadwayGTUPerceived(LaneBasedGTU gtu, Length overlapFront, Length overlap, Length overlapRear, Speed speed, 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
- ...
-
-