igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] What is the max value of a node id?


From: Gábor Csárdi
Subject: Re: [igraph] What is the max value of a node id?
Date: Wed, 24 Apr 2013 18:19:39 -0400

Hi, it works fine here, so you'll need to tell us some more info.

G.


On Wed, Apr 24, 2013 at 4:32 PM, 四正(红砖) <address@hidden> wrote:
Hello everyone,

I have following codes by c++:

igraph_empty(&g,0,true);
igraph_add_vertices(&g,131071,0);//17
igraph_add_vertices(&g,262143,0);//18
igraph_add_vertices(&g,524287,0);//19
igraph_add_vertices(&g,1048575,0);//20
igraph_add_vertices(&g,2097151,0);//21
igraph_add_vertices(&g,4194303,0);//22
igraph_add_vertices(&g,8388607,0);//23
igraph_add_vertices(&g,16777215,0);//24
igraph_add_vertices(&g,16777216,0);//24+1 does not work

as you can see, I'm testing the max value available of node id.

but why it does not work when node id is longer than 24 bits?



_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help




--
Gabor Csardi <address@hidden>     MTA KFKI RMKI

reply via email to

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