public class GraphMetrics<K extends Comparable<K>,VV,EV> extends DriverBase<K,VV,EV>
|Constructor and Description|
|Modifier and Type||Method and Description|
A multi-line description, presented in the algorithm usage.
A one-line description, presented in the algorithm listing.
"Run" algorithms and analytics on the input graph.
Analytic results are summaries so are always printed to the console irrespective of the chosen
addParameter, configure, getName, getUsage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, getName, getUsage
public String getShortDescription()
public String getLongDescription()
public DataSet plan(Graph<K,VV,EV> graph) throws Exception
Drivers are first configured, next planned, and finally the chosen output method is called.
null value should be returned when the
Driver does not execute a
GraphAlgorithm but only executes a
graph- input graph
Exception- on error
public void printAnalytics(PrintStream out)
Driver<K extends Comparable<K>,VV,EV>
DriverBase<K extends Comparable<K>,VV,EV>
out- output stream for printing results
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.