| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.plan.strategical |
Strategical planners.
|
| 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 | Method and Description |
|---|---|
abstract Link |
AbstractLinkBasedGTU.getLink()
Return the link on which the REFERENCE position of the GTU currently is on.
|
| Modifier and Type | Method and Description |
|---|---|
LinkDirection |
StrategicalPlanner.nextLinkDirection(Link link,
GTUDirectionality direction,
GTUType gtuType)
Determine the next link and driving direction (with or against the design line) in a network based on a current Link we
are on.
|
LinkDirection |
StrategicalPlanner.nextLinkDirection(Node node,
Link previousLink,
GTUType gtuType)
Determine the next link and driving direction (with or against the design line) in a network based on a node and a
driving direction of the GTU.
|
Node |
StrategicalPlanner.nextNode(Link link,
GTUDirectionality direction,
GTUType gtuType)
Determine the next node in a network based on a current Link we are on.
|
Node |
StrategicalPlanner.nextNode(Node node,
Link previousLink,
GTUType gtuType)
Determine the next node in a network based on a given node.
|
| 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 |
CapacityOTSLink
A link with a maximum capacity, expressed as the maximum number of GTUs per time unit that the link can handle.
|
class |
OTSLink
A standard implementation of a link between two OTSNodes.
|
| Modifier and Type | Method and Description |
|---|---|
Link |
LinkLocation.getLink() |
Link |
LinkDirection.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)
Retrieve a node with a given id from the network, or null if the id cannot be found.
|
Link |
Network.getLink(String linkId)
Retrieve a node with a given id from the network, or null if the id cannot be found.
|
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 nodeId1,
String nodeId2)
Find a link between node1 and node2 and return it if it exists in the network.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableMap<String,Link> |
OTSNetwork.getLinkMap()
Provide an immutable map of link ids to links in the network.
|
ImmutableMap<String,Link> |
Network.getLinkMap()
Provide an immutable map of link ids to links in the network.
|
Set<Link> |
OTSNode.getLinks() |
Set<Link> |
Node.getLinks() |
Set<Link> |
OTSNode.nextLinks(GTUType gtuType,
Link prevLink)
Determine the links connecting from the previous link via this Node for the given GTU type.
|
Set<Link> |
Node.nextLinks(GTUType gtuType,
Link prevLink)
Determine the links connecting from the previous link via this Node for the given GTU type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNode.addConnection(GTUType gtuType,
Link incomingLink,
Link outgoingLink)
Add a single connection for a GTU type to the connections map.
|
void |
OTSNode.addConnections(GTUType gtuType,
Link incomingLink,
Set<Link> outgoingLinks)
Add a set of connections for a GTU type to the connections map.
|
void |
OTSNode.addLink(Link link)
Add a link to this Node.
|
void |
OTSNetwork.addLink(Link link)
Register a link in the network.
|
void |
Node.addLink(Link link)
Add a link to this Node.
|
void |
Network.addLink(Link link)
Register a link in the network.
|
boolean |
OTSNetwork.containsLink(Link link)
Test whether a link is present in the network.
|
boolean |
Network.containsLink(Link link)
Test whether a link is present in the network.
|
Set<Link> |
OTSNode.nextLinks(GTUType gtuType,
Link prevLink)
Determine the links connecting from the previous link via this Node for the given GTU type.
|
Set<Link> |
Node.nextLinks(GTUType gtuType,
Link prevLink)
Determine the links connecting from the previous link via this Node for the given GTU type.
|
void |
OTSNode.removeLink(Link link)
Remove a link from this Node.
|
void |
OTSNetwork.removeLink(Link link)
Unregister a link from the network.
|
void |
Node.removeLink(Link link)
Remove a link from this Node.
|
void |
Network.removeLink(Link link)
Unregister a link from the network.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNode.addConnections(GTUType gtuType,
Link incomingLink,
Set<Link> outgoingLinks)
Add a set of connections for a GTU type to the connections map.
|
| Constructor and Description |
|---|
LinkDirection(Link link,
GTUDirectionality direction) |
LinkLocation(Link link,
double fractionalLongitudinalPosition) |
LinkLocation(Link link,
org.djunits.value.vdouble.scalar.Length 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–2016 Delft University of Technology. All rights reserved.