@graphty/algorithms / index / GrsbmOptions
Interface: GrsbmOptions ​
Defined in: indexed/grsbm.ts:8
Options of the index-based GRSBM, matching the legacy grsbm.
Properties ​
maxDepth? ​
readonlyoptionalmaxDepth?:number
Defined in: indexed/grsbm.ts:10
Clusters at this depth are not split; default 10.
maxIterations? ​
readonlyoptionalmaxIterations?:number
Defined in: indexed/grsbm.ts:16
Iteration cap of the Fiedler-vector iteration; default 100.
minClusterSize? ​
readonlyoptionalminClusterSize?:number
Defined in: indexed/grsbm.ts:12
A cluster is split only when it has at least twice this many members; default 2.
seed? ​
readonlyoptionalseed?:number
Defined in: indexed/grsbm.ts:18
Seed of the iteration's start vectors; default 42.
tolerance? ​
readonlyoptionaltolerance?:number
Defined in: indexed/grsbm.ts:14
Convergence tolerance of the Fiedler-vector iteration; default 1e-6.
weighted? ​
readonlyoptionalweighted?:boolean
Defined in: indexed/grsbm.ts:23
Use arc weights in the Laplacian and the modularity (true, the default), or count arcs (false, which is what the legacy grsbm does). A parallel arc counts once per arc.