Package org.opentrafficsim.ahfe
Class DelayedNeighborsPerception
- java.lang.Object
-
- org.opentrafficsim.base.Type<org.opentrafficsim.core.gtu.perception.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,org.opentrafficsim.core.gtu.perception.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-2022 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 org.opentrafficsim.base.parameters.ParameterTypeDoubleAERRORDeprecated.Parameter for acceleration error factor.static org.opentrafficsim.base.parameters.ParameterTypeDoubleSERRORDeprecated.Parameter for distance error factor.static org.opentrafficsim.base.parameters.ParameterTypeDurationTADeprecated.Parameter for anticipating beyond current time.static org.opentrafficsim.base.parameters.ParameterTypeDurationTAUEDeprecated.Parameter for correlation in errors.static org.opentrafficsim.base.parameters.ParameterTypeDoubleVERRORDeprecated.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(org.opentrafficsim.core.network.LateralDirectionality lat)Deprecated.SortedSet<HeadwayGTU>getFirstLeaders(org.opentrafficsim.core.network.LateralDirectionality lat)Deprecated.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>getFollowers(RelativeLane lane)Deprecated.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>getLeaders(RelativeLane lane)Deprecated.booleanisGtuAlongside(org.opentrafficsim.core.network.LateralDirectionality lat)Deprecated.voidnotify(EventInterface event)Deprecated.StringtoString()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
-
-
-
-
Field Detail
-
TA
public static final org.opentrafficsim.base.parameters.ParameterTypeDuration TA
Deprecated.Parameter for anticipating beyond current time.
-
TAUE
public static final org.opentrafficsim.base.parameters.ParameterTypeDuration TAUE
Deprecated.Parameter for correlation in errors.
-
SERROR
public static final org.opentrafficsim.base.parameters.ParameterTypeDouble SERROR
Deprecated.Parameter for distance error factor.
-
VERROR
public static final org.opentrafficsim.base.parameters.ParameterTypeDouble VERROR
Deprecated.Parameter for speed error factor.
-
AERROR
public static final org.opentrafficsim.base.parameters.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:
notifyin interfaceEventListenerInterface- Throws:
RemoteException
-
getFirstLeaders
public final SortedSet<HeadwayGTU> getFirstLeaders(org.opentrafficsim.core.network.LateralDirectionality lat) throws org.opentrafficsim.base.parameters.ParameterException, NullPointerException, IllegalArgumentException
Deprecated.- Specified by:
getFirstLeadersin interfaceNeighborsPerception- Throws:
org.opentrafficsim.base.parameters.ParameterExceptionNullPointerExceptionIllegalArgumentException
-
getFirstFollowers
public final SortedSet<HeadwayGTU> getFirstFollowers(org.opentrafficsim.core.network.LateralDirectionality lat) throws org.opentrafficsim.base.parameters.ParameterException, NullPointerException, IllegalArgumentException
Deprecated.- Specified by:
getFirstFollowersin interfaceNeighborsPerception- Throws:
org.opentrafficsim.base.parameters.ParameterExceptionNullPointerExceptionIllegalArgumentException
-
isGtuAlongside
public final boolean isGtuAlongside(org.opentrafficsim.core.network.LateralDirectionality lat) throws org.opentrafficsim.base.parameters.ParameterException, NullPointerException, IllegalArgumentExceptionDeprecated.- Specified by:
isGtuAlongsidein interfaceNeighborsPerception- Throws:
org.opentrafficsim.base.parameters.ParameterExceptionNullPointerExceptionIllegalArgumentException
-
getLeaders
public final PerceptionCollectable<HeadwayGTU,LaneBasedGTU> getLeaders(RelativeLane lane)
Deprecated.- Specified by:
getLeadersin interfaceNeighborsPerception
-
getFollowers
public final PerceptionCollectable<HeadwayGTU,LaneBasedGTU> getFollowers(RelativeLane lane)
Deprecated.- Specified by:
getFollowersin interfaceNeighborsPerception
-
-