Skip to content

@graphty/algorithms / index / SynchronousLabelPropagationOptions

Interface: SynchronousLabelPropagationOptions ​

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

Options of the synchronous label propagation.

Properties ​

maxIterations? ​

readonly optional maxIterations?: number

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

Cap on synchronous passes over every node; default 100.


weighted? ​

readonly optional weighted?: boolean

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

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