Interface GraphVisitor
-
- All Known Implementing Classes:
GraphPainter
public interface GraphVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
completeGraph(Graph graph)
void
visitEdge(Edge edge)
void
visitGraph(Graph graph)
void
visitVertex(Vertex vertex)
-
-
-
Method Detail
-
visitGraph
void visitGraph(Graph graph) throws java.lang.Exception
- Throws:
java.lang.Exception
-
completeGraph
void completeGraph(Graph graph) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitVertex
void visitVertex(Vertex vertex) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitEdge
void visitEdge(Edge edge) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-