File tree Expand file tree Collapse file tree
src/GraphBLAS-sharp.Backend/Algorithms Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,22 @@ module Algorithms =
2121 let run = SSSP.run
2222
2323 module PageRank =
24+ /// <summary >
25+ /// Computes PageRank of the given matrix.
26+ /// Matrix should be prepared in advance using "PageRank.prepareMatrix" method.
27+ /// Accepts accuracy as a parameter which determines how many iterations will be performed.
28+ /// Values of accuracy lower than 1e-06 are not recommended since the process may never stop.
29+ /// </summary >
30+ /// <example >
31+ /// <code >
32+ /// let preparedMatrix = PageRank.prepareMatrix clContext workGroupSize queue matrix
33+ /// let accuracy = 1e-05
34+ /// let pageRank = PageRank.run clContext workGroupSize queue preparedMatrix accuracy
35+ /// </code >
36+ /// </example >
2437 let run = PageRank.run
2538
39+ /// <summary >
40+ /// Converts matrix representing a graph to a format suitable for PageRank algorithm.
41+ /// </summary >
2642 let prepareMatrix = PageRank.prepareMatrix
You can’t perform that action at this time.
0 commit comments