Skip to content

@graphty/algorithms / index / EdgeBetweennessOptions

Interface: EdgeBetweennessOptions ​

Defined in: indexed/betweenness.ts:36

Options of the index-based edge betweenness.

Properties ​

alive? ​

readonly optional alive?: U32

Defined in: indexed/betweenness.ts:47

Logical edges to keep, as a packed mask over edgeCount; a cleared edge is treated as deleted and scores 0. Girvan-Newman removes edges this way without building a new snapshot.


k? ​

readonly optional k?: number

Defined in: indexed/betweenness.ts:42

Sampled edge betweenness: how many sources to draw; see BetweennessOptions.k.


normalized? ​

readonly optional normalized?: boolean

Defined in: indexed/betweenness.ts:38

Divide by (n - 1)(n - 2) directed, half that undirected, as the node scores are. Default false.


sources? ​

readonly optional sources?: NodeSet

Defined in: indexed/betweenness.ts:40

Sampled edge betweenness: the source nodes to run from (indices, { mask } or { ids }).