Skip to main content

Module pagerank

Module pagerank 

Source
Expand description

PageRank centrality (power iteration on a random-surfer Markov chain).

Structs§

PageRankConfig
PageRank hyperparameters.
PageRankRun
Result of a PageRank run: scores plus convergence diagnostics.

Functions§

pagerank
Compute PageRank scores for all nodes.
pagerank_checked
Checked PageRank centrality.
pagerank_checked_run
Validated PageRank with full diagnostics. Errors on invalid config and returns a PageRankRun on success. Equivalent to calling PageRankConfig::validate then pagerank_run.
pagerank_run
PageRank with convergence reporting.
pagerank_weighted
Weighted PageRank centrality.
pagerank_weighted_checked
Checked weighted PageRank.
pagerank_weighted_checked_run
Validated weighted PageRank with full diagnostics. Errors on invalid config, NaN weights, or negative weights. Returns a PageRankRun on success.
pagerank_weighted_run
Like pagerank_weighted but returns full PageRankRun diagnostics.