public class PageRank<K,VV,EV> extends SimpleDriver<K,VV,EV,PageRank.Result<K>> implements CSV, Print
PageRank
Constructor and Description |
---|
PageRank() |
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<PageRank.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,VV,EV>
public String getLongDescription()
Driver
getLongDescription
in interface Driver<K,VV,EV>
protected DataSet<PageRank.Result<K>> simplePlan(Graph<K,VV,EV> graph) throws Exception
SimpleDriver
DataSet
.simplePlan
in class SimpleDriver<K,VV,EV,PageRank.Result<K>>
graph
- input graphException
- on errorCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.