I've got probblems with gaph.knn in R using a weighted directed graph. It is supposed to ignore directions isn't it?
> graph.knn(g, vids=V(g), weights=TRUE)
Errore in graph.knn(g, vids = V(g), weights = TRUE) :
At structural_properties.c:6493 : Average nearest neighbor degree Works only with simple graphs, Invalid value