Skip to content

@graphty/algorithms / index / PageRankResult

Interface: PageRankResult ​

Defined in: algorithms/centrality/pagerank.ts:51

PageRank algorithm result

Properties ​

converged ​

converged: boolean

Defined in: algorithms/centrality/pagerank.ts:63

Whether the algorithm converged


iterations ​

iterations: number

Defined in: algorithms/centrality/pagerank.ts:59

Number of iterations until convergence


ranks ​

ranks: Record<string, number>

Defined in: algorithms/centrality/pagerank.ts:55

PageRank scores for each node