Package | Description |
---|---|
org.geotools.graph.structure | |
org.geotools.graph.structure.basic | |
org.geotools.graph.structure.opt |
Modifier and Type | Method and Description |
---|---|
void |
DirectedNode.addIn(DirectedEdge e)
Adds an edge to the in adjacency list of the node.
|
void |
DirectedNode.addOut(DirectedEdge e)
Adds an edge to the out adjacency list of the node.
|
void |
DirectedNode.removeIn(DirectedEdge e)
Removes an edge from the in adjacency list of the node.
|
void |
DirectedNode.removeOut(DirectedEdge e)
Removes an edge from the out adjacency list of node.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicDirectedEdge
Basic implementation of DirectedEdge.
|
Modifier and Type | Method and Description |
---|---|
List<DirectedEdge> |
BasicDirectedNode.getEdges()
Returns the combination of both the in and out adjacency lists.
|
List<DirectedEdge> |
BasicDirectedNode.getEdges(Node other)
A combination of the results of getInEdges(Node) and getOutEdges(Node).
|
List<DirectedEdge> |
BasicDirectedNode.getInEdges() |
List<DirectedEdge> |
BasicDirectedNode.getInEdges(DirectedNode other) |
Iterator<DirectedEdge> |
BasicDirectedEdge.getInRelated()
Returns an iterator over the in edges of the in node.
|
List<DirectedEdge> |
BasicDirectedNode.getOutEdges() |
List<DirectedEdge> |
BasicDirectedNode.getOutEdges(DirectedNode other) |
Iterator<DirectedEdge> |
BasicDirectedEdge.getOutRelated()
Returns an iterator over the out edges of the out node.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicDirectedNode.addIn(DirectedEdge e)
Adds an edge to the in adjacency list of the node which is an underlying List
implementation.
|
void |
BasicDirectedNode.addOut(DirectedEdge e)
Adds an edge to the ou adjacency list of the node which is an underlying List
implementation.
|
void |
BasicDirectedNode.removeIn(DirectedEdge e) |
void |
BasicDirectedNode.removeOut(DirectedEdge e) |
Modifier and Type | Class and Description |
---|---|
class |
OptDirectedEdge
Optimized implementation of DirectedEdge.
|
Modifier and Type | Method and Description |
---|---|
DirectedEdge[] |
OptDirectedNode.getInEdgeArray()
Returns the in adjacency edge array of the node.
|
DirectedEdge[] |
OptDirectedNode.getOutEdgeArray()
Returns the out adjacency edge array of the node.
|
Modifier and Type | Method and Description |
---|---|
List<DirectedEdge> |
OptDirectedNode.getEdges() |
List<DirectedEdge> |
OptDirectedNode.getInEdges() |
List<DirectedEdge> |
OptDirectedNode.getOutEdges() |
Modifier and Type | Method and Description |
---|---|
void |
OptDirectedNode.addIn(DirectedEdge e) |
void |
OptDirectedNode.addOut(DirectedEdge e) |
void |
OptDirectedNode.removeIn(DirectedEdge e)
Unsupported Operation.
|
void |
OptDirectedNode.removeOut(DirectedEdge e)
Unsupported Operation.
|
Copyright © 1996–2022 Geotools. All rights reserved.