| 程序包 | 说明 |
|---|---|
| io.github.openlg.graphlib |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<Edge> |
Graph.getEdges()
Returns the Edge for each getEdge in the graph.
|
Collection<Edge> |
Graph.inEdges(String nodeId) |
Collection<Edge> |
Graph.inEdges(String nodeId,
String sourceId)
Return all edge that point to the node v.
|
Collection<Edge> |
Graph.nodeEdges(String nodeId) |
Collection<Edge> |
Graph.nodeEdges(String nodeId,
String connectedNodeId)
Returns all edgeLabels to or from node nodeId regardless of direction.
|
Collection<Edge> |
Graph.outEdges(String nodeId) |
Collection<Edge> |
Graph.outEdges(String nodeId,
String targetId)
Return all edge that are pointed at by node v.
|
| 限定符和类型 | 方法和说明 |
|---|---|
E |
Graph.getEdge(Edge edge) |
boolean |
Graph.hasEdge(Edge edge) |
Graph<N,E> |
Graph.removeEdge(Edge edge)
remove edge
|
Graph<N,E> |
Graph.setEdge(Edge edge)
add new edge
|
Graph<N,E> |
Graph.setEdge(Edge edge,
E e)
add new edge
|
Copyright © 2024. All rights reserved.