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