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:
Serializable
,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-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 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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SortedSet<HeadwayGTU>
getFirstFollowers(LateralDirectionality lat)
Deprecated.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.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 Detail
-
TA
public static final ParameterTypeDuration TA
Deprecated.Parameter for anticipating beyond current time.
-
TAUE
public static final ParameterTypeDuration TAUE
Deprecated.Parameter for correlation in errors.
-
SERROR
public static final ParameterTypeDouble SERROR
Deprecated.Parameter for distance error factor.
-
VERROR
public static final ParameterTypeDouble VERROR
Deprecated.Parameter for speed error factor.
-
AERROR
public static final ParameterTypeDouble AERROR
Deprecated.Parameter for acceleration error factor.
-
-
Constructor Detail
-
DelayedNeighborsPerception
public DelayedNeighborsPerception(LanePerception perception, Anticipation anticipation)
Deprecated.- Parameters:
perception
- LanePerception; perceptionanticipation
- Anticipation; anticipation
-
-
Method Detail
-
notify
public void notify(EventInterface event) throws RemoteException
Deprecated.- Specified by:
notify
in interfaceEventListenerInterface
- Throws:
RemoteException
-
getFirstLeaders
public final SortedSet<HeadwayGTU> getFirstLeaders(LateralDirectionality lat) throws ParameterException, NullPointerException, IllegalArgumentException
Deprecated.- Specified by:
getFirstLeaders
in interfaceNeighborsPerception
- Throws:
ParameterException
NullPointerException
IllegalArgumentException
-
getFirstFollowers
public final SortedSet<HeadwayGTU> getFirstFollowers(LateralDirectionality lat) throws ParameterException, NullPointerException, IllegalArgumentException
Deprecated.- Specified by:
getFirstFollowers
in interfaceNeighborsPerception
- Throws:
ParameterException
NullPointerException
IllegalArgumentException
-
isGtuAlongside
public final boolean isGtuAlongside(LateralDirectionality lat) throws ParameterException, NullPointerException, IllegalArgumentException
Deprecated.- Specified by:
isGtuAlongside
in interfaceNeighborsPerception
- Throws:
ParameterException
NullPointerException
IllegalArgumentException
-
getLeaders
public final PerceptionCollectable<HeadwayGTU,LaneBasedGTU> getLeaders(RelativeLane lane)
Deprecated.- Specified by:
getLeaders
in interfaceNeighborsPerception
-
getFollowers
public final PerceptionCollectable<HeadwayGTU,LaneBasedGTU> getFollowers(RelativeLane lane)
Deprecated.- Specified by:
getFollowers
in interfaceNeighborsPerception
-
-