void setMaxNumIterations(int maxNumIterations)
sets the maximum number of iterations (default is 1000)
Basic page rank calculation.
double dampingFactor() const
returns the damping factor for each iteration (default is 0.85)
int m_maxNumIterations
maximum number of iterations
void setThreshold(double t)
sets the threshold to t. See threshold for more information
int maxNumIterations() const
the maximum number of iterations (default is 1000)
void setDampingFactor(double dampingFactor)
sets the damping factor for each iteration (default is 0.85)
double threshold() const
returns the threshold/epsilon.
void initDefaultOptions()
sets the default options.
void call(const Graph &graph, const EdgeArray< double > &edgeWeight, NodeArray< double > &pageRankResult)
main algorithm call