
org.psjava.algo.graph.dfs.DFSVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of psjava Show documentation
Show all versions of psjava Show documentation
Problem Solving Library for Java
package org.psjava.algo.graph.dfs;
import org.psjava.util.VisitorStopper;
public interface DFSVisitor {
void onDiscovered(V vertex, int depth, VisitorStopper stopper);
void onFinish(V vertex, int depth);
void onBackEdgeFound(E edge);
void onWalkDown(E edge);
void onWalkUp(E downedEdge);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy