(no commit message)
[utils] / system / general / src / main / java / org / wamblee / system / graph / Visitor.java
index 9c3240e0a09f92abd85cdedd7ba7308ade6c141b..e65a535c062b4f6c656a1c25b555ad7c00462d89 100644 (file)
  */ 
 package org.wamblee.system.graph;
 
+/**
+ * Visitor of a graph. 
+ * @author Erik Brakkee.
+ *
+ */
 public interface Visitor {
 
+    /**
+     * Visits a node. Called by {@link Graph#accept(Visitor)}.
+     * @param aNode Node to visit. 
+     */
     void visitNode(Node aNode); 
     
+    /**
+     * Visits a node. Called by {@link Graph#accept(Visitor)}.
+     * @param aEdge Edge to visit. 
+     */
     void visitEdge(Edge aEdge); 
 }