Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/port80/graph/algorithm/IDFVertexWalker.java


1   //
2   // Copyright(c) 2002, Chris Leung
3   //
4   
5   package com.port80.graph.algorithm;
6   
7   import java.util.List;
8   
9   import com.port80.graph.IDFVertexVisitor;
10  import com.port80.graph.IVertex;
11  import com.port80.graph.IVertexVisitor;
12  
13  /**
14   * @author chrisl
15   *
16   * To change this generated comment edit the template variable "typecomment":
17   * Window>Preferences>Java>Templates.
18   * To enable and disable the creation of type comments go to
19   * Window>Preferences>Java>Code Generation.
20   */
21  public interface IDFVertexWalker {
22  
23      ////////////////////////////////////////////////////////////////////////
24  
25      /** @return List of vertex in visit order. */
26      List walk(IVertex v);
27      Object walk(IVertex v, IVertexVisitor visitor, Object data);
28      Object walk(IVertex v, IDFVertexVisitor visitor, Object data);
29  
30      ////////////////////////////////////////////////////////////////////////
31  
32  }