N
- Value type that the graph node stores.E
- Value type that the graph edge stores.public interface SubGraph<N,E>
Modifier and Type | Method and Description |
---|---|
void |
addNode(N value)
Adds the node into this subgraph.
|
boolean |
isIndependentOf(N node)
Returns true if the node is a neighbor of any node in this SubGraph.
|
Copyright © 2009-2020 Google. All Rights Reserved.