Skip to content

@graphty/algorithms / index / getTopAdamicAdarCandidatesForNode

Function: getTopAdamicAdarCandidatesForNode() ​

getTopAdamicAdarCandidatesForNode(s, uNode, o?): LinkPredictionResult

Defined in: indexed/link-prediction.ts:402

One node's best Adamic-Adar candidates, ranked.

Parameters ​

s ​

GraphSnapshot

The snapshot

uNode ​

NodeRef

The node: its index, or { id }

o? ​

CandidateOptions = {}

Options

Returns ​

LinkPredictionResult

(u, v) pairs with a positive score, highest first