@graphty/algorithms / index / MCLOptions
Interface: MCLOptions ​
Defined in: clustering/mcl.ts:16
Markov Clustering (MCL) algorithm implementation
MCL simulates flow in graphs and finds clusters based on the notion that random walks stay within clusters and rarely move between clusters. The algorithm alternates between expansion (matrix squaring) and inflation (element-wise powering and normalization).
Time complexity: O(V³) per iteration Space complexity: O(V²)
Properties ​
expansion? ​
optionalexpansion:number
Defined in: clustering/mcl.ts:17
inflation? ​
optionalinflation:number
Defined in: clustering/mcl.ts:18
maxIterations? ​
optionalmaxIterations:number
Defined in: clustering/mcl.ts:19
pruningThreshold? ​
optionalpruningThreshold:number
Defined in: clustering/mcl.ts:21
selfLoops? ​
optionalselfLoops:boolean
Defined in: clustering/mcl.ts:22
tolerance? ​
optionaltolerance:number
Defined in: clustering/mcl.ts:20