interface SearchDegreeCentralityNormalizedOptions {
    alpha?: number;
    directed?: boolean;
    weight(edge: EdgeSingular): number;
}

Properties

Methods

Properties

alpha?: number

The alpha value for the centrality calculation, ranging on [0, 1]. With value 0 (default), disregards edge weights and solely uses number of edges in the centrality calculation. With value 1, disregards number of edges and solely uses the edge weights in the centrality calculation.

directed?: boolean

A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or whether the undirected centrality is calculated (false, default).

Methods