Package org.opentrafficsim.ahfe
Class AbstractDelayedNeighborsPerception
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
- All Implemented Interfaces:
java.io.Serializable
,PerceptionCategory<LaneBasedGTU,LanePerception>
,LaneBasedPerceptionCategory
,NeighborsPerception
- Direct Known Subclasses:
DelayedNeighborsPerception
@Deprecated public abstract class AbstractDelayedNeighborsPerception extends AbstractDelayedPerceptionCategory implements NeighborsPerception
Deprecated.
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 Modifier and Type Class Description static class
AbstractDelayedNeighborsPerception.NeighborsInfoType<T>
Deprecated.Delayed information about the type of the neighbors.Nested classes/interfaces inherited from class org.opentrafficsim.ahfe.AbstractDelayedPerceptionCategory
AbstractDelayedPerceptionCategory.DelayedInfoType<T>
-
Field Summary
Fields Modifier and Type Field Description static AbstractDelayedNeighborsPerception.NeighborsInfoType<java.util.SortedSet<RelativeLane>>
CROSSSECTION
Deprecated.Info type id for cross-section.protected static ParameterTypeDuration
DT
Deprecated.Time step parameter type.static java.lang.String
FIRSTFOLLOWERS
Deprecated.Info type id base for first followers.static java.lang.String
FIRSTLEADERS
Deprecated.Info type id base for first leaders.static java.lang.String
FOLLOWERS
Deprecated.Info type id base for followers.static java.lang.String
GTUALONGSIDE
Deprecated.Info type id base for gtu alongside.static java.lang.String
LEADERS
Deprecated.Info type id base for leaders.static AbstractDelayedNeighborsPerception.NeighborsInfoType<Length>
ODOMETER
Deprecated.Id for odometer info type.protected static ParameterTypeDuration
TR
Deprecated.Reaction time parameter type.Fields inherited from class org.opentrafficsim.road.gtu.lane.perception.categories.LaneBasedAbstractPerceptionCategory
MAX_RED_DECELERATION, MAX_YELLOW_DECELERATION
-
Constructor Summary
Constructors Constructor Description AbstractDelayedNeighborsPerception(LanePerception perception)
Deprecated.Constructor. -
Method Summary
Modifier and Type Method Description java.util.SortedSet<RelativeLane>
getDelayedCrossSection()
Deprecated.Returns the cross-section on which the most recent observed neighbors were determined.boolean
isGtuAlongsideOverride(LateralDirectionality lat)
Deprecated.Returns whether to override the gtu alongside boolean as true.void
updateAll()
Deprecated.protected void
updateAllDelayed()
Deprecated.Performs actual update.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opentrafficsim.road.gtu.lane.perception.categories.neighbors.NeighborsPerception
getFirstFollowers, getFirstLeaders, getFollowers, getLeaders, isGtuAlongside
-
Field Details
-
TR
Deprecated.Reaction time parameter type. -
DT
Deprecated.Time step parameter type. -
FIRSTLEADERS
public static final java.lang.String FIRSTLEADERSDeprecated.Info type id base for first leaders.- See Also:
- Constant Field Values
-
FIRSTFOLLOWERS
public static final java.lang.String FIRSTFOLLOWERSDeprecated.Info type id base for first followers.- See Also:
- Constant Field Values
-
GTUALONGSIDE
public static final java.lang.String GTUALONGSIDEDeprecated.Info type id base for gtu alongside.- See Also:
- Constant Field Values
-
LEADERS
public static final java.lang.String LEADERSDeprecated.Info type id base for leaders.- See Also:
- Constant Field Values
-
FOLLOWERS
public static final java.lang.String FOLLOWERSDeprecated.Info type id base for followers.- See Also:
- Constant Field Values
-
CROSSSECTION
public static final AbstractDelayedNeighborsPerception.NeighborsInfoType<java.util.SortedSet<RelativeLane>> CROSSSECTIONDeprecated.Info type id for cross-section. -
ODOMETER
Deprecated.Id for odometer info type.
-
-
Constructor Details
-
AbstractDelayedNeighborsPerception
Deprecated.Constructor.- Parameters:
perception
- LanePerception; perception
-
-
Method Details
-
updateAll
Deprecated.- Specified by:
updateAll
in interfacePerceptionCategory<LaneBasedGTU,LanePerception>
- Throws:
GTUException
NetworkException
ParameterException
-
isGtuAlongsideOverride
Deprecated.Returns whether to override the gtu alongside boolean as true.- Parameters:
lat
- LateralDirectionality; lateral direction- Returns:
- whether to override the gtu alongside boolean as true
-
updateAllDelayed
Deprecated.Performs actual update.- Throws:
ParameterException
- if parameter is not present or is given a wrong valueNetworkException
- on error in the networkGTUException
- if not initialized
-
getDelayedCrossSection
Deprecated.Returns the cross-section on which the most recent observed neighbors were determined.- Returns:
- cross-section on which the most recent observed neighbors were determined
-