| Package | Description |
|---|---|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.factory.xml.units |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
LongitudinalDirectionality |
OTSLink.getDirectionality(GTUType gtuType)
This method returns the directionality of the link for a GTU type.
|
LongitudinalDirectionality |
Link.getDirectionality(GTUType gtuType)
This method returns the directionality of the link for a GTU type.
|
static LongitudinalDirectionality |
LongitudinalDirectionality.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongitudinalDirectionality[] |
LongitudinalDirectionality.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OTSLink.addDirectionality(GTUType gtuType,
LongitudinalDirectionality directionality)
This method sets the directionality of the link for a GTU type.
|
void |
Link.addDirectionality(GTUType gtuType,
LongitudinalDirectionality directionality)
This method sets the directionality of the link for a GTU type.
|
boolean |
LongitudinalDirectionality.contains(LongitudinalDirectionality directionality)
This method looks if this directionality "contains" the provided other directionality.
|
| Constructor and Description |
|---|
CapacityOTSLink(String id,
OTSNode startNode,
OTSNode endNode,
LinkType linkType,
OTSLine3D designLine,
org.djunits.value.vdouble.scalar.Frequency capacity,
LongitudinalDirectionality directionality)
Construct a new link, with a directionality for all GTUs as provided.
|
OTSLink(String id,
OTSNode startNode,
OTSNode endNode,
LinkType linkType,
OTSLine3D designLine,
LongitudinalDirectionality directionality)
Construct a new link, with a directionality for all GTUs as provided.
|
| Constructor and Description |
|---|
CapacityOTSLink(String id,
OTSNode startNode,
OTSNode endNode,
LinkType linkType,
OTSLine3D designLine,
org.djunits.value.vdouble.scalar.Frequency capacity,
Map<GTUType,LongitudinalDirectionality> directionalityMap)
Construct a new link.
|
OTSLink(String id,
OTSNode startNode,
OTSNode endNode,
LinkType linkType,
OTSLine3D designLine,
Map<GTUType,LongitudinalDirectionality> directionalityMap)
Construct a new link.
|
| Modifier and Type | Method and Description |
|---|---|
static LongitudinalDirectionality |
Directions.parseDirection(String dirStr) |
Copyright © 2014–2015 Delft University of Technology. All rights reserved.