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