@graphty/algorithms / index / ClosenessResult
Interface: ClosenessResult ​
Defined in: indexed/closeness.ts:50
Closeness scores with the number of sources they were computed from.
Extends ​
Properties ​
converged ​
readonlyconverged:true
Defined in: indexed/betweenness.ts:57
Always true: nothing here iterates to a tolerance.
Inherited from ​
iterations ​
readonlyiterations:number
Defined in: indexed/betweenness.ts:55
The number of breadth-first searches or shortest-path searches run: one per source.
Inherited from ​
scores ​
readonlyscores:F64
Defined in: indexed/betweenness.ts:53
One score per node index.
Inherited from ​
sourcesUsed ​
readonlysourcesUsed:number
Defined in: indexed/closeness.ts:52
How many sources were run: nodeCount for the exact score, else the sample's length (duplicates counted).