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