|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphAlgorithm
The base interface for all graph algorithms.
Method Summary | |
---|---|
Graph |
getGraph()
|
void |
run()
Execute the algorithm. |
void |
setGraph(Graph g)
Set the graph on which the algorithm shall work. |
Method Detail |
---|
void setGraph(Graph g) throws UnsupportedGraphProperty
g
- the graph
UnsupportedGraphProperty
- thrown if g does not have all properties
required by the algorithm.Graph getGraph()
void run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |