[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] random generator graph in C
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] random generator graph in C |
Date: |
Tue, 3 Nov 2009 18:02:34 +0100 |
On Tue, Nov 3, 2009 at 5:58 PM, wassim gmail <address@hidden> wrote:
> Gábor Csárdi a écrit :
>>
>> Should be. igraph_neighbors() gives you the neighbors of a vertex.
>> Vertex ids are just numbers between zero and the number of vertices
>> minus one.
>
> This is what i have done. I was thinking may be there a function already
> able to do this automatically. (like the vertex iterator)
There is actually a vertex iterator, but in your case it is not
simpler than using the ids.
>> Probably the erdos_renyi_game() function is what you are looking for.
>>
>
> Ok i have tested with this function. One question is have you any idea about
> the maximum size of graph that i can generate using this function.
Should be around 2 billion vertices or 1 billion edges, I think. But
you will probably reach the memory limits sooner.
Gabor
> Thank you very much for your help.
>
> best regards,
>
--
Gabor Csardi <address@hidden> UNIL DGM
- [igraph] random generator graph in C, alex, 2009/11/03
- Re: [igraph] random generator graph in C, Gábor Csárdi, 2009/11/03
- Re: [igraph] random generator graph in C, wassim gmail, 2009/11/03
- Re: [igraph] random generator graph in C, Gábor Csárdi, 2009/11/03
- Re: [igraph] random generator graph in C, wassim gmail, 2009/11/03
- Re: [igraph] random generator graph in C, Gábor Csárdi, 2009/11/03
- Re: [igraph] random generator graph in C, wassim gmail, 2009/11/03
- Re: [igraph] random generator graph in C, Gábor Csárdi, 2009/11/03
- Re: [igraph] random generator graph in C, wassim gmail, 2009/11/03
- Re: [igraph] random generator graph in C,
Gábor Csárdi <=
- [igraph] random generator graph in C, wassim gmail, 2009/11/06
- [igraph] Re: random generator graph in C, Gábor Csárdi, 2009/11/07
- [igraph] Re: random generator graph in C, wassim gmail, 2009/11/07
- [igraph] Re: random generator graph in C, Gábor Csárdi, 2009/11/07
- Message not available
- Message not available
- Message not available
- [igraph] Re: random generator graph in C, Gábor Csárdi, 2009/11/07
- Re: [igraph] random generator graph in C, Tamas Nepusz, 2009/11/03
Re: [igraph] random generator graph in C, wassim gmail, 2009/11/10