Package org.opentrafficsim.ahfe
Class DelayedNeighborsPerception
java.lang.Object
org.opentrafficsim.base.Type<AbstractPerceptionCategory<G,P>>
org.opentrafficsim.core.gtu.perception.AbstractPerceptionCategory<LaneBasedGTU,LanePerception>
org.opentrafficsim.road.gtu.lane.perception.categories.LaneBasedAbstractPerceptionCategory
org.opentrafficsim.ahfe.AbstractDelayedPerceptionCategory
org.opentrafficsim.ahfe.AbstractDelayedNeighborsPerception
org.opentrafficsim.ahfe.DelayedNeighborsPerception
- All Implemented Interfaces:
java.io.Serializable
,java.util.EventListener
,EventListenerInterface
,PerceptionCategory<LaneBasedGTU,LanePerception>
,LaneBasedPerceptionCategory
,NeighborsPerception
@Deprecated public class DelayedNeighborsPerception extends AbstractDelayedNeighborsPerception implements EventListenerInterface
Deprecated.
Implementation of delayed neighbors perception which anticipates using constant speed.
Copyright (c) 2013-2019 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 17 feb. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opentrafficsim.ahfe.AbstractDelayedNeighborsPerception
AbstractDelayedNeighborsPerception.NeighborsInfoType<T>
Nested classes/interfaces inherited from class org.opentrafficsim.ahfe.AbstractDelayedPerceptionCategory
AbstractDelayedPerceptionCategory.DelayedInfoType<T>
-
Field Summary
Fields Modifier and Type Field Description static ParameterTypeDouble
AERROR
Deprecated.Parameter for acceleration error factor.static ParameterTypeDouble
SERROR
Deprecated.Parameter for distance error factor.static ParameterTypeDuration
TA
Deprecated.Parameter for anticipating beyond current time.static ParameterTypeDuration
TAUE
Deprecated.Parameter for correlation in errors.static ParameterTypeDouble
VERROR
Deprecated.Parameter for speed error factor.Fields inherited from class org.opentrafficsim.ahfe.AbstractDelayedNeighborsPerception
CROSSSECTION, DT, FIRSTFOLLOWERS, FIRSTLEADERS, FOLLOWERS, GTUALONGSIDE, LEADERS, ODOMETER, TR
Fields inherited from class org.opentrafficsim.road.gtu.lane.perception.categories.LaneBasedAbstractPerceptionCategory
MAX_RED_DECELERATION, MAX_YELLOW_DECELERATION
-
Constructor Summary
Constructors Constructor Description DelayedNeighborsPerception(LanePerception perception, Anticipation anticipation)
Deprecated. -
Method Summary
Modifier and Type Method Description java.util.SortedSet<HeadwayGTU>
getFirstFollowers(LateralDirectionality lat)
Deprecated.java.util.SortedSet<HeadwayGTU>
getFirstLeaders(LateralDirectionality lat)
Deprecated.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>
getFollowers(RelativeLane lane)
Deprecated.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>
getLeaders(RelativeLane lane)
Deprecated.boolean
isGtuAlongside(LateralDirectionality lat)
Deprecated.void
notify(EventInterface event)
Deprecated.java.lang.String
toString()
Deprecated.Methods inherited from class org.opentrafficsim.ahfe.AbstractDelayedNeighborsPerception
getDelayedCrossSection, isGtuAlongsideOverride, updateAll, updateAllDelayed
Methods inherited from class org.opentrafficsim.ahfe.AbstractDelayedPerceptionCategory
changeLane, getInfo, getInfo, setInfo, setInfo
Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.categories.LaneBasedAbstractPerceptionCategory
computeIfAbsent, computeIfAbsent, computeIfAbsent
Methods inherited from class org.opentrafficsim.core.gtu.perception.AbstractPerceptionCategory
getGtu, getObjectOrNull, getPerception, getTimestamp
-
Field Details
-
Constructor Details
-
DelayedNeighborsPerception
Deprecated.- Parameters:
perception
- LanePerception; perceptionanticipation
- Anticipation; anticipation
-
-
Method Details
-
notify
Deprecated.- Specified by:
notify
in interfaceEventListenerInterface
- Throws:
java.rmi.RemoteException
-
getFirstLeaders
public final java.util.SortedSet<HeadwayGTU> getFirstLeaders(LateralDirectionality lat) throws ParameterException, java.lang.NullPointerException, java.lang.IllegalArgumentExceptionDeprecated.- Specified by:
getFirstLeaders
in interfaceNeighborsPerception
- Throws:
ParameterException
java.lang.NullPointerException
java.lang.IllegalArgumentException
-
getFirstFollowers
public final java.util.SortedSet<HeadwayGTU> getFirstFollowers(LateralDirectionality lat) throws ParameterException, java.lang.NullPointerException, java.lang.IllegalArgumentExceptionDeprecated.- Specified by:
getFirstFollowers
in interfaceNeighborsPerception
- Throws:
ParameterException
java.lang.NullPointerException
java.lang.IllegalArgumentException
-
isGtuAlongside
public final boolean isGtuAlongside(LateralDirectionality lat) throws ParameterException, java.lang.NullPointerException, java.lang.IllegalArgumentExceptionDeprecated.- Specified by:
isGtuAlongside
in interfaceNeighborsPerception
- Throws:
ParameterException
java.lang.NullPointerException
java.lang.IllegalArgumentException
-
getLeaders
Deprecated.- Specified by:
getLeaders
in interfaceNeighborsPerception
-
getFollowers
Deprecated.- Specified by:
getFollowers
in interfaceNeighborsPerception
-
toString
public final java.lang.String toString()Deprecated.- Overrides:
toString
in classjava.lang.Object
-