| Package | Description |
|---|---|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| Modifier and Type | Field and Description |
|---|---|
static LinkType |
LinkType.CONNECTOR
Virtual connection between nodes, e.g.
|
static LinkType |
LinkType.FREEWAY
One-directional road, accessible to all road GTU types (excluding PEDESTRIAN and BICYCLE).
|
static LinkType |
LinkType.NONE
The link type that does not allow any vehicles, or pedestrians.
|
static LinkType |
LinkType.RAIL_WAY
Two-directional rail link.
|
static LinkType |
LinkType.ROAD
Two-directional road, accessible to all road GTU types (including PEDESTRIAN).
|
static LinkType |
LinkType.WATER_WAY
Two-directional water way.
|
| Modifier and Type | Method and Description |
|---|---|
LinkType |
OTSLink.getLinkType() |
LinkType |
LinkDirection.getLinkType() |
LinkType |
Link.getLinkType() |
LinkType |
LinkType.reverse()
Returns a link type with directionality reversed.
|
| Constructor and Description |
|---|
CapacityOTSLink(Network network,
String id,
Node startNode,
Node endNode,
LinkType linkType,
OTSLine3D designLine,
OTSSimulatorInterface simulator,
Frequency capacity)
Construct a new link.
|
LinkType(String id,
LinkType parent,
GTUCompatibility<LinkType> compatibility)
Create a new Link type with compatibility set.
|
OTSLink(Network network,
String id,
Node startNode,
Node endNode,
LinkType linkType,
OTSLine3D designLine,
OTSSimulatorInterface simulator)
Construct a new link.
|
| Constructor and Description |
|---|
LinkType(String id,
LinkType parent,
GTUCompatibility<LinkType> compatibility)
Create a new Link type with compatibility set.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.