public class GSAPageRank<K> extends Object implements GraphAlgorithm<K,Double,Double,DataSet<Vertex<K,Double>>>
Constructor and Description |
---|
GSAPageRank(double beta,
int maxIterations)
Creates an instance of the GSA PageRank algorithm.
|
GSAPageRank(double beta,
long numVertices,
int maxIterations)
Creates an instance of the GSA PageRank algorithm.
|
public GSAPageRank(double beta, int maxIterations)
GSAPageRank(double, long, int)
constructor instead.
The implementation assumes that each page has at least one incoming and one outgoing link.beta
- the damping factormaxIterations
- the maximum number of iterationspublic GSAPageRank(double beta, long numVertices, int maxIterations)
GSAPageRank(double, int)
constructor instead.
The implementation assumes that each page has at least one incoming and one outgoing link.beta
- the damping factormaxIterations
- the maximum number of iterationsnumVertices
- the number of vertices in the inputCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.