| Package | Description |
|---|---|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.animation |
Animation for Links, Lanes, Nodes.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LinkEdge<LINK extends Link>
The LinkEdge is a class that embeds a Link (extension of AbstractLink) to be put in a graph.
|
| Modifier and Type | Class and Description |
|---|---|
class |
OTSLink
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
Link |
LinkLocation.getLink() |
Link |
OTSNetwork.getLink(Node node1,
Node node2)
Find a link between node1 and node2 and return it if it exists in the network.
|
Link |
Network.getLink(Node node1,
Node node2)
Find a link between node1 and node2 and return it if it exists in the network.
|
Link |
OTSNetwork.getLink(String linkId) |
Link |
Network.getLink(String linkId) |
Link |
OTSNetwork.getLink(String nodeId1,
String nodeId2)
Find a link between node1 and node2 and return it if it exists in the network.
|
Link |
Network.getLink(String node1,
String node2)
Find a link between node1 and node2 and return it if it exists in the network.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Link> |
OTSNetwork.getLinkMap() |
Map<String,Link> |
Network.getLinkMap() |
Set<Link> |
OTSNode.getLinksIn() |
Set<Link> |
Node.getLinksIn() |
Set<Link> |
OTSNode.getLinksOut() |
Set<Link> |
Node.getLinksOut() |
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNetwork.addLink(Link link) |
void |
Network.addLink(Link link) |
void |
OTSNode.addLinkIn(Link linkIn)
Add an incoming link to this Node.
|
void |
Node.addLinkIn(Link linkIn)
Add an incoming link to this Node.
|
void |
OTSNode.addLinkOut(Link linkOut)
Add an outgoing link to this Node.
|
void |
Node.addLinkOut(Link linkOut)
Add an outgoing link to this Node.
|
boolean |
OTSNetwork.containsLink(Link link) |
boolean |
Network.containsLink(Link link) |
void |
OTSNetwork.removeLink(Link link) |
void |
Network.removeLink(Link link) |
| Constructor and Description |
|---|
LinkLocation(Link link,
double fractionalLongitudinalPosition) |
LinkLocation(Link link,
org.djunits.value.vdouble.scalar.Length.Rel position) |
| Constructor and Description |
|---|
LinkAnimation(Link source,
OTSSimulatorInterface simulator,
float width) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CompleteRoute.containsLink(Link link)
Determine if this Route contains the specified Link.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.