[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] graph.bfs with multiple root vertices

From: santiago gil
Subject: [igraph] graph.bfs with multiple root vertices
Date: Wed, 11 Sep 2013 01:04:52 -0400

Hello all,

I'm puzzled by the behavior of the function graph.bfs() when I try to run in starting from more than one root vertex. No matter what I ask it to calculate (say, order or distance) it just gives me all NaNs. I'm dealing with a large (90000 vertices, 600000 edges) directed graph. When I run it from any one single root vertex, the result is correct. When I input two I get a big long list of NaN. Here's my command


if I set unreachable=TRUE it works again, but that makes it run slower. Any tips are appreciated.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]