[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Error: "At iterators.c:721 : Cannot create iterator, inval
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Error: "At iterators.c:721 : Cannot create iterator, invalid vertex id, Invalid vertex id" while computing shortest path |
Date: |
Mon, 21 Jun 2010 09:58:05 +0200 |
Hi,
exactly what the error message says, you supplied an invalid vertex id
to shortest.paths(). Most likely you forgot that vertex ids are
indexed from zero. But it is hard to say for sure, since we don't know
what you did.
Best,
Gabor
On Mon, Jun 21, 2010 at 9:45 AM, shahab mokarizadeh
<address@hidden> wrote:
> Hi,
>
> I invoked "shortest.paths (graph,row) " function in R in order to
> compute shortest path in the graph. But I get the following error
> after a while:
>
> Error in shortest.paths(my_directed_graph, i) :
> At iterators.c:721 : Cannot create iterator, invalid vertex id,
> Invalid vertex id
> In addition: There were 50 or more warnings (use warnings() to see the first
> 50)
>
> Any idea about what would be the source of error??
> Thanks,
>
> /Shahab
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
--
Gabor Csardi <address@hidden> UNIL DGM