igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Edge ID numberings


From: Tamas Nepusz
Subject: Re: [igraph] Edge ID numberings
Date: Tue, 18 May 2010 20:18:23 +0100

Hi,

> I was wondering if the 'eid' used in many of the functions comes from the 
> location in the edge list? e.g. if we had a graph with 10 edges then the eid 
> values would be drawn from the set {0,1,2,3,4,5,6,7,8,9}?
Yes, exactly. If you have m edges, then the edges are numbered from 0 to n-1. 
This has the somewhat unpleasant consequence that the edges are renumbered 
after a delete_edges operation.

Tamas




reply via email to

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