V
- the vertex type.E
- the edge type.public interface UndirectedCycleBase<V,E>
Modifier and Type | Method and Description |
---|---|
List<List<V>> |
findCycleBase()
Finds a cycle base of the graph.
Note that the full algorithm is executed on every call since the graph may have changed between calls. |
Graph<V,E> |
getGraph()
Returns the graph on which the cycle base search algorithm is executed by this object.
|
void |
setGraph(Graph<V,E> graph)
Sets the graph on which the cycle base search algorithm is executed by this object.
|
Graph<V,E> getGraph()
void setGraph(Graph<V,E> graph)
graph
- the graph.IllegalArgumentException
- if the argument is null
.List<List<V>> findCycleBase()
null
.IllegalArgumentException
- if the current graph is null.Copyright © 2017. All rights reserved.