Source code: com/port80/graph/IEdgeVisitor.java
1 //
2 // Copyright(c) 2002, Chris Leung
3 //
4
5 package com.port80.graph;
6
7 import java.util.*;
8
9 /** Graph vertex visitor interface.
10 */
11 public interface IEdgeVisitor {
12
13 ////////////////////////////////////////////////////////////////////////
14
15 /** @return false to abort transversal, else return true. */
16 boolean visit(IEdge e, Set visited, Object data);
17
18 ////////////////////////////////////////////////////////////////////////
19
20 }
21