ALP User Documentation 0.7.0
Algebraic Programming User Documentation
Namespaces | Functions
simple_pagerank.hpp File Reference

Implements the canonical PageRank algorithm by Brin and Page. More...

Go to the source code of this file.

Namespaces

namespace  grb
 The ALP/GraphBLAS namespace.
 
namespace  grb::algorithms
 The namespace for ALP/GraphBLAS algorithms.
 

Functions

template<Descriptor descr = descriptors::no_operation, typename IOType , typename NonzeroT >
RC simple_pagerank (Vector< IOType > &pr, const Matrix< NonzeroT > &L, Vector< IOType > &pr_next, Vector< IOType > &pr_nextnext, Vector< IOType > &row_sum, const IOType alpha=0.85, const IOType conv=0.0000001, const size_t max=1000, size_t *const iterations=nullptr, double *const quality=nullptr)
 The canonical PageRank algorithm. More...
 

Detailed Description

Implements the canonical PageRank algorithm by Brin and Page.

Author
A. N. Yzelman
Date
: 21st of March, 2017