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.factory |
Factories for Links, Lanes, Nodes.
|
org.opentrafficsim.core.network.geotools |
Geotools flavored Nodes, Links, etc.
|
org.opentrafficsim.core.network.point2d |
Factories for Point2D flavored Links, Lanes, Nodes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Link<ID,N extends Node<?,?>>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractExpansionNode<ID,P>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
AbstractNode<ID,P>
The Node is a point with an id.
|
Modifier and Type | Method and Description |
---|---|
Node<?,?> |
Route.destinationNode() |
Node<?,?> |
ExpansionNetwork.getExpansionOfNode() |
Node<?,?> |
Route.getNode(int i)
Return a node at a specific location.
|
Node<?,?> |
Route.lastVisitedNode() |
Node<?,?> |
Route.nextNodeToVisit()
This method does not advance the route pointer.
|
Node<?,?> |
Route.originNode() |
Node<?,?> |
Route.removeNode(int i)
Remove a node from a specific location.
|
Node<?,?> |
Route.visitNextNode()
This method does advance the route pointer (if possible).
|
Modifier and Type | Method and Description |
---|---|
Set<Link<?,? extends Node<ID,P>>> |
Node.getLinksIn() |
Set<Link<?,? extends Node<ID,P>>> |
AbstractNode.getLinksIn() |
Set<Link<?,? extends Node<ID,P>>> |
Node.getLinksOut() |
Set<Link<?,? extends Node<ID,P>>> |
AbstractNode.getLinksOut() |
Set<Node<?,?>> |
Network.getNodeSet() |
Modifier and Type | Method and Description |
---|---|
void |
Route.addNode(int i,
Node<?,?> node)
Add a node at a specific location.
|
boolean |
Route.addNode(Node<?,?> node)
Add a node to the end of the node list.
|
void |
Network.addNode(Node<?,?> node)
Add a node to this Network.
|
boolean |
ExpansionNetwork.collapseLinks(Node<?,?> node1,
Node<?,?> node2)
Collapse all links between two given nodes into one forward and one reverse link.
|
boolean |
ExpansionNetwork.collapseLinks(Node<?,?> node1,
Node<?,?> node2)
Collapse all links between two given nodes into one forward and one reverse link.
|
boolean |
Network.deleteNode(Node<?,?> deleteThis)
Delete a node from this network.
|
boolean |
ExpansionNetwork.deleteNode(Node<?,?> deleteThis)
Delete a node from this network (or a sub-network of this network).
|
ExpansionNetwork<?,?> |
ExpansionNetwork.getSubNetworkConsistNode(Node<?,?> node)
Return the sub network that directly owns a specified node.
|
int |
Route.indexOf(Node<?,?> node)
Return the index of a Node in this Route, or -1 if this Route does not contain the specified Node.
|
boolean |
Network.isInNetwork(Node<?,?> node)
Determine if a node is part of this Network.
|
boolean |
ExpansionNetwork.isInNetwork(Node<?,?> node,
boolean recurse)
Determine if a node is part of this Network.
|
void |
ExpansionNetwork.setExpansionOfNode(Node<?,?> expansionOfNode) |
Modifier and Type | Method and Description |
---|---|
void |
Node.addLinkIn(Link<?,? extends Node<ID,P>> linkIn)
Add an incoming link to this Node.
|
void |
AbstractNode.addLinkIn(Link<?,? extends Node<ID,P>> linkIn)
Add an incoming link to this Node.
|
void |
Node.addLinkOut(Link<?,? extends Node<ID,P>> linkOut)
Add an outgoing link to this Node.
|
void |
AbstractNode.addLinkOut(Link<?,? extends Node<ID,P>> linkOut)
Add an outgoing link to this Node.
|
boolean |
ExpansionNetwork.collapseToNode(HashSet<Node<?,?>> nodesOfSubNetwork)
Collapse a nodes into a sub network.
|
void |
Network.setNodeSet(Set<Node<?,?>> nodeSet) |
Constructor and Description |
---|
ExpansionNetwork(ID id,
Collection<? extends L> collection,
Node<?,?> expansionNode)
Construction of a network with an initial set of links, and an expansion node.
|
Constructor and Description |
---|
Route(List<Node<?,?>> nodes)
Create a route based on an initial list of nodes.
|
Constructor and Description |
---|
NodeAnimation(Node<?,?> node,
OTSSimulatorInterface simulator) |
Modifier and Type | Field and Description |
---|---|
protected Node |
XmlNetworkLaneParser.LinkTag.nodeFrom
from node.
|
protected Node |
XmlNetworkLaneParser.LinkTag.nodeTo
to node.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Node> |
XmlNetworkLaneParser.nodes
the processed nodes for further reference.
|
Modifier and Type | Method and Description |
---|---|
protected Node |
XmlNetworkLaneParser.makeNode(Class<?> clazz,
XmlNetworkLaneParser.NodeTag nodeTag) |
Modifier and Type | Class and Description |
---|---|
class |
NodeGeotools<ID>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
static class |
NodeGeotools.INT
Integer ID implementation of the Geotools node.
|
static class |
NodeGeotools.STR
String ID implementation of the Geotools node.
|
Modifier and Type | Class and Description |
---|---|
class |
NodePoint2D<ID>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
static class |
NodePoint2D.INT
Integer ID implementation of the Point2D node.
|
static class |
NodePoint2D.STR
String ID implementation of the Point2D node.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.