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: Tamas Nepusz
Subject: Re: [igraph] Does igraph suit me?
Date: Mon, 10 Oct 2011 10:18:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15

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



reply via email to

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