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