| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu.perception |
The perception module of a GTU is responsible for perceiving (sensing) the environment of the GTU, which includes the
locations of other GTUs.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EgoPerception
Ego perception interface.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPerceptionCategory<G extends GTU,P extends Perception<G>>
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
DirectEgoPerception
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends PerceptionCategory<?,?>> |
Perception.addPerceptionCategory(T perceptionCategory)
Adds given perception category to the perception.
|
<T extends PerceptionCategory<?,?>> |
AbstractPerception.addPerceptionCategory(T perceptionCategory)
Adds given perception category to the perception.
|
<T extends PerceptionCategory<?,?>> |
Perception.contains(Class<T> category)
Returns whether the given perception category is present.
|
<T extends PerceptionCategory<?,?>> |
AbstractPerception.contains(Class<T> category)
Returns whether the given perception category is present.
|
<T extends PerceptionCategory<?,?>> |
Perception.getPerceptionCategory(Class<T> category)
Returns the given perception category.
|
<T extends PerceptionCategory<?,?>> |
AbstractPerception.getPerceptionCategory(Class<T> category)
Returns the given perception category.
|
<T extends PerceptionCategory<?,?>> |
Perception.getPerceptionCategoryOrNull(Class<T> category)
Returns the given perception category, or
null if not present. |
<T extends PerceptionCategory<?,?>> |
AbstractPerception.getPerceptionCategoryOrNull(Class<T> category)
Returns the given perception category, or
null if not present. |
| Modifier and Type | Method and Description |
|---|---|
void |
Perception.removePerceptionCategory(PerceptionCategory<?,?> perceptionCategory)
Remove give perception category.
|
void |
AbstractPerception.removePerceptionCategory(PerceptionCategory<?,?> perceptionCategory)
Remove give perception category.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.