igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] get an edge id knowing the extremities


From: Gábor Csárdi
Subject: Re: [igraph] get an edge id knowing the extremities
Date: Tue, 5 May 2009 17:14:36 +0200

Then it is

E(graph, P=c(from, to))

you can give more pairs if you like:

E(graph, P=c(from1,to1,from2,to2, ...))

G.

On Tue, May 5, 2009 at 4:17 PM, Emile Richard
<address@hidden> wrote:
> Thanks, I'm using R and igraph_get_eid seems to be a C++ method... can you 
> give me an example of how to call it from R?
>
> Best,
>
> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of Gábor Csárdi
> Sent: mardi 5 mai 2009 15:56
> To: Help for igraph users
> Cc: Emile Richard
> Subject: Re: [igraph] get an edge id knowing the extremities
>
> Emile, see 
> http://igraph.sourceforge.net/doc/html/ch04s02s02.html#igraph_get_eid
>
> Best, G.
>
> On Tue, May 5, 2009 at 2:46 PM, Emile Richard
> <address@hidden> wrote:
>>
>>
>> Hi,
>>
>>
>>
>> I'd like to know a quick (native if it exists) to get the id of an edge
>> knowing the id of the 2 vertices it connects.
>>
>> Using the edgelist had my program turn very slowly, I'd like to know if
>> there is a better way to do it.
>>
>>
>>
>> Many thanks,
>>
>>
>>
>>
>>
>> Emile Richard
>>
>> 28, rue de Châteaudun
>> 75009 Paris
>>
>> www.1000mercis.com
>>
>> Ligne directe +33 (0) 1 49 49 02 16
>> address@hidden
>>
>> Standard :
>>
>> +33 (0) 1 49 49 06 60
>>
>> Fax :
>>
>> +33 (0) 1 49 49 06 61
>>
>>
>>
>>  Avant d'imprimer, pensez à l'environnement
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>>
>
>
>
> --
> Gabor Csardi <address@hidden>     UNIL DGM
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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