public class JaccardIndex<K extends CopyableValue<K>,VV,EV> extends SimpleDriver<K,VV,EV,JaccardIndex.Result<K>> implements CSV, Hash, Print
JaccardIndex
.Constructor and Description |
---|
JaccardIndex() |
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.
|
protected DataSet<JaccardIndex.Result<K>> |
simplePlan(Graph<K,VV,EV> graph)
Plan the algorithm and return the result
DataSet . |
getResult, hash, plan, print, writeCSV
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 CopyableValue<K>,VV,EV>
public String getLongDescription()
Driver
getLongDescription
in interface Driver<K extends CopyableValue<K>,VV,EV>
protected DataSet<JaccardIndex.Result<K>> simplePlan(Graph<K,VV,EV> graph) throws Exception
SimpleDriver
DataSet
.simplePlan
in class SimpleDriver<K extends CopyableValue<K>,VV,EV,JaccardIndex.Result<K extends CopyableValue<K>>>
graph
- input graphException
- on errorCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.