@graphty/algorithms / index / KatzOptions
Interface: KatzOptions ​
Defined in: indexed/katz.ts:4
Options of the index-based Katz centrality, matching the legacy katzCentrality.
Properties ​
alpha? ​
readonlyoptionalalpha?:number
Defined in: indexed/katz.ts:6
Attenuation factor applied to a neighbour's score; default 0.1.
beta? ​
readonlyoptionalbeta?:number
Defined in: indexed/katz.ts:8
Base score every node starts with and keeps; default 1.
maxIterations? ​
readonlyoptionalmaxIterations?:number
Defined in: indexed/katz.ts:10
Iteration cap; default 100.
normalized? ​
readonlyoptionalnormalized?:boolean
Defined in: indexed/katz.ts:14
Rescale the scores to [0, 1] by min-max, as the legacy function does; default true.
tolerance? ​
readonlyoptionaltolerance?:number
Defined in: indexed/katz.ts:12
Convergence tolerance on the largest single-node change; default 1e-6.
weighted? ​
readonlyoptionalweighted?:boolean
Defined in: indexed/katz.ts:16
Weight a neighbour's contribution by the arc weight; default false.