public class GraphMetrics<K extends Comparable<K>,VV,EV> extends ParameterizedBase implements Driver<K,VV,EV>, Hash, Print
EdgeMetrics
,
VertexMetrics
,
EdgeMetrics
,
VertexMetrics
Constructor and Description |
---|
GraphMetrics() |
Modifier and Type | Method and Description |
---|---|
String |
getLongDescription()
A multi-line description, presented in the algorithm usage.
|
String |
getName()
A unique, human-readable identifier.
|
String |
getShortDescription()
A one-line description, presented in the algorithm listing.
|
void |
hash(String executionName)
Print hash of execution results.
|
void |
plan(Graph<K,VV,EV> graph)
"Run" algorithms and analytics on the input graph.
|
void |
print(String executionName)
Print execution results.
|
addParameter, configure, getUsage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, getUsage
public String getName()
Parameterized
getName
in interface Parameterized
public String getShortDescription()
Driver
getShortDescription
in interface Driver<K extends Comparable<K>,VV,EV>
public String getLongDescription()
Driver
getLongDescription
in interface Driver<K extends Comparable<K>,VV,EV>
public void plan(Graph<K,VV,EV> graph) throws Exception
Driver
public void hash(String executionName) throws Exception
Hash
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.