Represents a compact, fully connected, weighted graph (scores for connections between all nodes) Stores only the upper triangular part of the adjacency matrix to avoid duplication. Built using buildSimilarityGraph
A dense array-based structure storing similarity scores.
edgeScores[i][j]
(i, i + j + 1)
Number of nodes (vectors) in the graph.
Represents a compact, fully connected, weighted graph (scores for connections between all nodes) Stores only the upper triangular part of the adjacency matrix to avoid duplication. Built using buildSimilarityGraph