Skip to content

@eightkk/vue-weave / core / GraphPageRankOptions

Interface: GraphPageRankOptions ​

Defined in: src/core/graphAnalysis.ts:203

Properties ​

damping? ​

optional damping?: number

Defined in: src/core/graphAnalysis.ts:205

Probability of following a link rather than jumping to a random node; in [0, 1). Default 0.85.


maxIterations? ​

optional maxIterations?: number

Defined in: src/core/graphAnalysis.ts:209

Iteration cap; a positive integer. Default 100.


tolerance? ​

optional tolerance?: number

Defined in: src/core/graphAnalysis.ts:207

Stop when the L1 change between iterations drops below this; finite and greater than 0. Default 1e-6.


weight? ​

optional weight?: (edge) => number

Defined in: src/core/graphAnalysis.ts:211

Edge weight; finite and nonnegative. Without it every edge counts 1.

Parameters ​

edge ​

GraphEdge

Returns ​

number

Released under the MIT License.