Package it.unimi.dsi.webgraph.examples
Class BreadthFirst
- java.lang.Object
-
- it.unimi.dsi.webgraph.examples.BreadthFirst
-
public class BreadthFirst extends java.lang.ObjectThe main method of this class loads an arbitraryImmutableGraphand 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] arg)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] arg) throws java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, com.martiansoftware.jsap.JSAPException, java.io.IOException- Throws:
java.lang.IllegalArgumentExceptionjava.lang.SecurityExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.NoSuchMethodExceptioncom.martiansoftware.jsap.JSAPExceptionjava.io.IOException
-
-