| Package | Description |
|---|---|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.object |
Static objects that the GTU might have to avoid.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableMap<String,ObjectInterface> |
OTSNetwork.getObjectMap()
Return an immutable map of all ObjectInterface implementing objects in the Network.
|
ImmutableMap<String,ObjectInterface> |
Network.getObjectMap()
Return an immutable map of all ObjectInterface implementing objects in the Network.
|
ImmutableMap<String,ObjectInterface> |
OTSNetwork.getObjectMap(Class<ObjectInterface> objectType)
Return an immutable map of all ObjectInterface implementing objects in the network that are of type objectType, or any
sub type thereof.
|
ImmutableMap<String,ObjectInterface> |
Network.getObjectMap(Class<ObjectInterface> objectType)
Return an immutable map of all ObjectInterface implementing objects in the network that are of type objectType, or any
sub type thereof.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNetwork.addObject(ObjectInterface object)
Add an ObjectInterface implementing object to the Network.
|
void |
Network.addObject(ObjectInterface object)
Add an ObjectInterface implementing object to the Network.
|
boolean |
OTSNetwork.containsObject(ObjectInterface object)
Test whether the object is present in the Network.
|
boolean |
Network.containsObject(ObjectInterface object)
Test whether the object is present in the Network.
|
void |
OTSNetwork.removeObject(ObjectInterface object)
Remove an ObjectInterface implementing object form the Network.
|
void |
Network.removeObject(ObjectInterface object)
Remove an ObjectInterface implementing object form the Network.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableMap<String,ObjectInterface> |
OTSNetwork.getObjectMap(Class<ObjectInterface> objectType)
Return an immutable map of all ObjectInterface implementing objects in the network that are of type objectType, or any
sub type thereof.
|
ImmutableMap<String,ObjectInterface> |
Network.getObjectMap(Class<ObjectInterface> objectType)
Return an immutable map of all ObjectInterface implementing objects in the network that are of type objectType, or any
sub type thereof.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StaticObject
A static object with a height that a GTU might have to avoid, or which can cause occlusion for perception.
|
Copyright © 2014–2017 Delft University of Technology. All rights reserved.