@graphty/algorithms / index / LabelPropagationOptions
Interface: LabelPropagationOptions ​
Defined in: indexed/label-propagation.ts:15
Options of the index-based label propagation.
Properties ​
maxIterations? ​
readonlyoptionalmaxIterations?:number
Defined in: indexed/label-propagation.ts:17
Work cap, in node visits per node (full-sweep equivalents); default 100.
randomSeed? ​
readonlyoptionalrandomSeed?:number
Defined in: indexed/label-propagation.ts:19
Seed of the visit order and of the tie draws; default 42.
weighted? ​
readonlyoptionalweighted?:boolean
Defined in: indexed/label-propagation.ts:21
Sum arc weights (true, the default) or count each distinct neighbour once (false).