igraph-help
[Top][All Lists]
Advanced

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

[igraph] Error with get.shortest.paths but not with shortest.paths in R


From: zbynek . janoska
Subject: [igraph] Error with get.shortest.paths but not with shortest.paths in R
Date: Mon, 16 Dec 2013 09:15:03 +0100


Hi,
I have encountered strange behavior using igraph in R.
shortest.paths command returns correct results, get.shortest.paths returns warning and no results.

> shortest.paths(g,v=2795,to=2839) # corect
      [,1]
[1,] 3930.4
> get.shortest.paths(g,from=2795,to=2839) # warning and no results
[[1]]
numeric(0)

Warning message:
In get.shortest.paths(g_novy, from = 2795, to = 2839) :
 At structural_properties.c:5296 :Couldn't reach some vertices


Does anyone know, whats the problem?


Thanks,
Zbynek
reply via email to

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