Skip to content

@graphty/algorithms / index / LabelPropagationOptions

Interface: LabelPropagationOptions ​

Defined in: indexed/label-propagation.ts:15

Options of the index-based label propagation.

Properties ​

maxIterations? ​

readonly optional maxIterations?: number

Defined in: indexed/label-propagation.ts:17

Work cap, in node visits per node (full-sweep equivalents); default 100.


randomSeed? ​

readonly optional randomSeed?: number

Defined in: indexed/label-propagation.ts:19

Seed of the visit order and of the tie draws; default 42.


weighted? ​

readonly optional weighted?: boolean

Defined in: indexed/label-propagation.ts:21

Sum arc weights (true, the default) or count each distinct neighbour once (false).