@graphty/algorithms / index / commonNeighborsForPairs
Function: commonNeighborsForPairs() ​
commonNeighborsForPairs(
s,pairs,o?):F64
Defined in: indexed/link-prediction.ts:311
Common-neighbour scores of the given pairs, in order.
Parameters ​
s ​
GraphSnapshot
The snapshot
pairs ​
The pairs
o? ​
Options
Returns ​
F64
One score per pair