Skip to content

Interface: CentralityResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CentralityResponse

Defined in: src/types/communities.ts:395

Response of a centrality computation.

edgeCount: number

Defined in: src/types/communities.ts:397

Number of edges in the graph.


graphObservation: ReferenceGraphObservation

Defined in: src/types/communities.ts:405

The explicit loop-free reference projection this metric used.


measure: string

Defined in: src/types/communities.ts:399

The measure that was computed.


nodeCount: number

Defined in: src/types/communities.ts:401

Number of nodes in the graph.


scores: NodeScore[]

Defined in: src/types/communities.ts:403

Scores, sorted by score descending then node id (truncated to topK).