Package it.unimi.dsi.webgraph.examples
Class BreadthFirst
java.lang.Object
it.unimi.dsi.webgraph.examples.BreadthFirst
public class BreadthFirst extends Object
The main method of this class loads an arbitrary
ImmutableGraph
and performs a breadth-first visit of the graph (optionally starting just from a given node, if provided,
in which case it prints the eccentricity of the node, i.e., the maximum distance from the node).-
Method Summary
-
Method Details
-
main
public static void main(String[] arg) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, JSAPException, IOException
-