powered by
get outdirect nodes for each node
Out_direct(K, nodes)
A list where entry out[[i]] is the vector of neighbors j
out[[i]]
j
such that there is an edge (i, j) in K
(i, j)
K
Integer or numeric matrix with two columns, where each row represents a directed edge (from, to) in the k-NN graph
(from, to)
Integer vector of node indices for which to extract outgoing neighbors