igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Error with get.shortest.paths but not with shortest.paths i


From: Gábor Csárdi
Subject: Re: [igraph] Error with get.shortest.paths but not with shortest.paths in R
Date: Mon, 16 Dec 2013 09:39:49 -0500

Hi,

impossible to say for sure without your data, but note that the
default for the 'mode' argument is different for shortest.paths and
get.shortest.paths.

Gabor

On Mon, Dec 16, 2013 at 3:15 AM,  <address@hidden> wrote:
>
> 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
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>



reply via email to

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