| 程序包 | 说明 |
|---|---|
| com.github.houbb.data.struct.core.util.graph | |
| com.github.houbb.data.struct.core.util.graph.component |
| 限定符和类型 | 方法和说明 |
|---|---|
Edge<V> |
ListDirectGraph.getEdge(int from,
int to) |
Edge<V> |
IDirectGraph.getEdge(int from,
int to)
获取边信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ListDirectGraph.addEdge(Edge<V> edge) |
void |
IDirectGraph.addEdge(Edge<V> edge)
新增边
|
boolean |
ListDirectGraph.removeEdge(Edge<V> edge) |
boolean |
IDirectGraph.removeEdge(Edge<V> edge)
移除边
|
| 限定符和类型 | 方法和说明 |
|---|---|
Edge<V> |
GraphNode.get(V to)
获取目标边
|
Edge<V> |
GraphNode.remove(V to)
获取目标边
|
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Edge<V>> |
GraphNode.getEdgeSet() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
GraphNode.add(Edge<V> edge)
新增一条边
|
Copyright © 2020. All rights reserved.