All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----tw.edu.ncnu.im.cnclab.Algor.Algorithm
|
+----tw.edu.ncnu.im.cnclab.Algor.DFS
DFS class implements the DFS algorithm.
public static final Color BACK
public static final Color FORWARD
public static final Color CROSS
public static final Color FIRST_TOUCHED_COLOR
public static final Color FINISH_VISITED_COLOR
public DFS()
protected void setArg(Object args[]) throws IllegalArgumentException
Valid args: null , Object[]{Integer(int startNode)} or
Object[]{Integer(int startNode),Boolean(findOtherHead)} .
findOtherHead: true if all vertices need to travel;
false otherwise.
public GenericDialog getPreferredDialog(Graph graph,
Frame fr)
protected Object algorImpl()
All Packages Class Hierarchy This Package Previous Next Index