aryagraph.algorithms.link_prediction.resource_allocation_index# aryagraph.algorithms.link_prediction.resource_allocation_index(g: Any, pairs: Iterable[tuple[Hashable, Hashable]] | None = None) → list[tuple[Hashable, Hashable, float]][source]# Σ 1 / deg(w) over the common neighbours w (Zhou, Lü & Zhang 2009).