Skip to content

@graphty/algorithms / index / GRSBMCluster

Interface: GRSBMCluster ​

Defined in: research/grsbm.ts:26

Represents a cluster in the hierarchical structure

Properties ​

depth ​

depth: number

Defined in: research/grsbm.ts:38

Depth in the hierarchy


id ​

id: string

Defined in: research/grsbm.ts:28

Unique identifier for this cluster


left? ​

optional left: GRSBMCluster

Defined in: research/grsbm.ts:32

Left child cluster (if split)


members ​

members: Set<NodeId>

Defined in: research/grsbm.ts:30

Node IDs in this cluster


modularity ​

modularity: number

Defined in: research/grsbm.ts:36

Modularity score of this cluster


optional right: GRSBMCluster

Defined in: research/grsbm.ts:34

Right child cluster (if split)


spectralScore ​

spectralScore: number

Defined in: research/grsbm.ts:40

Spectral embedding quality score