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. |
UndirectedGraph<V,E> |
getGraph()
Returns the graph on which the cycle base search algorithm is executed by
this object.
|
void |
setGraph(UndirectedGraph<V,E> graph)
Sets the graph on which the cycle base search algorithm is executed by
this object.
|
UndirectedGraph<V,E> getGraph()
void setGraph(UndirectedGraph<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 © 2016. All rights reserved.