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-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 ParameterTypeDoubleAERRORDeprecated.Parameter for acceleration error factor.static ParameterTypeDoubleSERRORDeprecated.Parameter for distance error factor.static ParameterTypeDurationTADeprecated.Parameter for anticipating beyond current time.static ParameterTypeDurationTAUEDeprecated.Parameter for correlation in errors.static ParameterTypeDoubleVERRORDeprecated.Parameter for speed error factor.Fields inherited from class org.opentrafficsim.ahfe.AbstractDelayedNeighborsPerception
CROSSSECTION, DT, FIRSTFOLLOWERS, FIRSTLEADERS, FOLLOWERS, GTUALONGSIDE, LEADERS, ODOMETER, TRFields 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.booleanisGtuAlongside(LateralDirectionality lat)Deprecated.voidnotify(EventInterface event)Deprecated.java.lang.StringtoString()Deprecated.Methods inherited from class org.opentrafficsim.ahfe.AbstractDelayedNeighborsPerception
getDelayedCrossSection, isGtuAlongsideOverride, updateAll, updateAllDelayedMethods inherited from class org.opentrafficsim.ahfe.AbstractDelayedPerceptionCategory
changeLane, getInfo, getInfo, setInfo, setInfoMethods inherited from class org.opentrafficsim.road.gtu.lane.perception.categories.LaneBasedAbstractPerceptionCategory
computeIfAbsent, computeIfAbsent, computeIfAbsentMethods 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:
notifyin 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:
getFirstLeadersin interfaceNeighborsPerception- Throws:
ParameterExceptionjava.lang.NullPointerExceptionjava.lang.IllegalArgumentException
-
getFirstFollowers
public final java.util.SortedSet<HeadwayGTU> getFirstFollowers(LateralDirectionality lat) throws ParameterException, java.lang.NullPointerException, java.lang.IllegalArgumentExceptionDeprecated.- Specified by:
getFirstFollowersin interfaceNeighborsPerception- Throws:
ParameterExceptionjava.lang.NullPointerExceptionjava.lang.IllegalArgumentException
-
isGtuAlongside
public final boolean isGtuAlongside(LateralDirectionality lat) throws ParameterException, java.lang.NullPointerException, java.lang.IllegalArgumentExceptionDeprecated.- Specified by:
isGtuAlongsidein interfaceNeighborsPerception- Throws:
ParameterExceptionjava.lang.NullPointerExceptionjava.lang.IllegalArgumentException
-
getLeaders
Deprecated.- Specified by:
getLeadersin interfaceNeighborsPerception
-
getFollowers
Deprecated.- Specified by:
getFollowersin interfaceNeighborsPerception
-
toString
public final java.lang.String toString()Deprecated.- Overrides:
toStringin classjava.lang.Object
-