@Deprecated public abstract class AbstractDelayedNeighborsPerception extends AbstractDelayedPerceptionCategory implements NeighborsPerception
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.
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDelayedNeighborsPerception.NeighborsInfoType<T>
Deprecated.
Delayed information about the type of the neighbors.
|
AbstractDelayedPerceptionCategory.DelayedInfoType<T>
Modifier and Type | Field and Description |
---|---|
static AbstractDelayedNeighborsPerception.NeighborsInfoType<SortedSet<RelativeLane>> |
CROSSSECTION
Deprecated.
Info type id for cross-section.
|
protected static ParameterTypeDuration |
DT
Deprecated.
Time step parameter type.
|
static String |
FIRSTFOLLOWERS
Deprecated.
Info type id base for first followers.
|
static String |
FIRSTLEADERS
Deprecated.
Info type id base for first leaders.
|
static String |
FOLLOWERS
Deprecated.
Info type id base for followers.
|
static String |
GTUALONGSIDE
Deprecated.
Info type id base for gtu alongside.
|
static 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.
|
MAX_RED_DECELERATION, MAX_YELLOW_DECELERATION
Constructor and Description |
---|
AbstractDelayedNeighborsPerception(LanePerception perception)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
changeLane, getInfo, getInfo, setInfo, setInfo
computeIfAbsent, computeIfAbsent, computeIfAbsent
getGtu, getObjectOrNull, getPerception, getTimestamp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstFollowers, getFirstLeaders, getFollowers, getLeaders, isGtuAlongside
protected static final ParameterTypeDuration TR
protected static final ParameterTypeDuration DT
public static final String FIRSTLEADERS
public static final String FIRSTFOLLOWERS
public static final String GTUALONGSIDE
public static final String LEADERS
public static final String FOLLOWERS
public static final AbstractDelayedNeighborsPerception.NeighborsInfoType<SortedSet<RelativeLane>> CROSSSECTION
public static final AbstractDelayedNeighborsPerception.NeighborsInfoType<Length> ODOMETER
public AbstractDelayedNeighborsPerception(LanePerception perception)
perception
- LanePerception; perceptionpublic final void updateAll() throws GTUException, NetworkException, ParameterException
updateAll
in interface PerceptionCategory<LaneBasedGTU,LanePerception>
GTUException
NetworkException
ParameterException
public final boolean isGtuAlongsideOverride(LateralDirectionality lat)
lat
- LateralDirectionality; lateral directionprotected void updateAllDelayed() throws GTUException, NetworkException, ParameterException
ParameterException
- if parameter is not present or is given a wrong valueNetworkException
- on error in the networkGTUException
- if not initializedpublic final SortedSet<RelativeLane> getDelayedCrossSection()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.