#include "xf_graph_L3.hpp"
event <int> pageRankWeight ( xf::graph::L3::Handle& handle, float alpha, float tolerance, int maxIter, xf::graph::Graph <uint32_t, float> gr, float* pagerank )
pageRank algorithm is implemented.
Parameters:
| handle | Graph library L3 handle |
| alpha | Damping factor, normally 0.85 |
| tolerance | Converge tolerance |
| maxIter | Max iteration |
| gr | Input, CSR graph of IDs’ type of uint32_t and weights’ type of float |
| pagerank | Output, float type rank values of each vertex |