igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Does igraph suit me?


From: Nouf M.
Subject: Re: [igraph] Does igraph suit me?
Date: Mon, 10 Oct 2011 11:38:03 +0300

Hello,
 
Thank you very much for your reply. Does that mean that the graph will only be temporary (when the program is running) or can I store it store it somewhere for later use? I'm going to work with millions of nodes so it will be time consuming to create the graph each time I try the code.
 
Best regards,
Nouf

On Mon, Oct 10, 2011 at 11:18 AM, Tamas Nepusz <address@hidden> wrote:
Hello,

You can definitely do this in igraph. However, note that igraph is
implemented mostly in C and not C++. This is not a problem in general, you
can safely embed igraph in C++ code, but you'll have to take care of calling
the _init and _dealloc functions of the igraph data structures manually. So,
for instance, if you create a graph, it is not enough to declare the
variable as "igraph_t graph", you'll also have to initialize it as
"igraph_init(&graph, ...)" and deallocate it as "igraph_destroy(&graph)"
when you are done with it.

Cheers,
Tamas

On 10/09/2011 10:20 AM, Nouf M. wrote:
> Hello,
>
> I'm a phd student. I'm working in the graph mining field. have a huge text
> file that I would like to convert to a graph. Then, I will write some code
> to implement my algorithm (something similar to shortest paths algorithms).
> I'm planning to write my code in C++. Do you think igraph will suit me?
>
> Best regards,
> Nouf
>
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help

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


reply via email to

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