| Package | Description |
|---|---|
| org.opentrafficsim.core.definitions |
The definitions package contains the core definitions that can be used to interpret the Network and the PerceivableContext.
|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| Modifier and Type | Method and Description |
|---|---|
GTUType |
Definitions.getGtuType(GTUType.DEFAULTS gtuEnum)
Retrieve a defined default GTUType based on its enum.
|
| Modifier and Type | Method and Description |
|---|---|
GTUType.DEFAULTS |
GTUType.DEFAULTS.getParent() |
static GTUType.DEFAULTS |
GTUType.DEFAULTS.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GTUType.DEFAULTS[] |
GTUType.DEFAULTS.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GTUType.isOfType(GTUType.DEFAULTS type)
Whether this, or any of the parent types, equals the given type.
|
boolean |
GTUType.isType(GTUType.DEFAULTS type)
Whether this equals the given type.
|
| Modifier and Type | Method and Description |
|---|---|
GTUType |
OTSNetwork.getGtuType(GTUType.DEFAULTS gtuEnum)
Retrieve a defined default GTUType based on its enum.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.