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).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] arg)
throws IllegalArgumentException,
SecurityException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
JSAPException,
IOException
- Throws:
IllegalArgumentException
SecurityException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
JSAPException
IOException