python Networkx VS c++ boost graph

2,074 views
Skip to first unread message

Don Mohsenuss

unread,
Feb 22, 2015, 10:11:54 AM2/22/15
to networkx...@googlegroups.com
Hi every one, I'm working on my final year project, it's about graph mining, so I need graph data structure and the program to be fast, so I want to know who is faster, Networkx or Boost ?

Aric Hagberg

unread,
Feb 22, 2015, 10:18:34 AM2/22/15
to networkx...@googlegroups.com
That might depend on whether you mean faster to write and debug or
faster to run :-)
Good luck with your project.
Aric
> --
> You received this message because you are subscribed to the Google Groups
> "networkx-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to networkx-discu...@googlegroups.com.
> To post to this group, send email to networkx...@googlegroups.com.
> Visit this group at http://groups.google.com/group/networkx-discuss.
> For more options, visit https://groups.google.com/d/optout.

Don Mohsenuss

unread,
Feb 22, 2015, 10:26:25 AM2/22/15
to networkx...@googlegroups.com
I mean running time.

Moritz Beber

unread,
Feb 22, 2015, 11:00:38 AM2/22/15
to networkx...@googlegroups.com

Maybe this page can help you http://graph-tool.skewed.de/performance

Moritz

Aric Hagberg

unread,
Feb 22, 2015, 11:27:58 AM2/22/15
to networkx...@googlegroups.com
Those two packages are likely very different in running time.
NetworkX is Python and Boost is C++. Typically you'll get faster
running code using a compiled language like C++. The only way to
know the real timing difference is to try both.

Aric

Don Mohsenuss

unread,
Feb 22, 2015, 11:34:20 AM2/22/15
to networkx...@googlegroups.com
So, graph-tool is more speed and complete than Netwokx ?

Aric Hagberg

unread,
Feb 22, 2015, 11:47:20 AM2/22/15
to networkx...@googlegroups.com
Hi Don,

Boost and graph-tool are both great - you should try them yourself and
find out what works best for you! Asking on a software package
mailing list which package is better is not very useful since that
depends on many factors.

Aric

Don Mohsenuss

unread,
Feb 22, 2015, 11:49:02 AM2/22/15
to networkx...@googlegroups.com
Actually I can't code with C++ so I think graph-tool will be better for me.

Don Mohsenuss

unread,
Feb 23, 2015, 3:33:30 AM2/23/15
to networkx...@googlegroups.com
How to install it for windows 7 ?


Le dimanche 22 février 2015 17:00:38 UTC+1, Moritz a écrit :

Daπid

unread,
Feb 23, 2015, 6:11:08 AM2/23/15
to networkx...@googlegroups.com
On 23 February 2015 at 09:33, Don Mohsenuss <mohse...@gmail.com> wrote:
> How to install it for windows 7 ?

Install VirtualBox and open a Linux virtual machine.

I am only half joking, you can theoretically install it on Windows,
but you need to set up a compiler and all the requirements, that is a
pain. Gohlke lists it as interesting but unavailable, which probably
means he hasn't been able to compile it, and he is quite good at it.

http://www.lfd.uci.edu/~gohlke/pythonlibs/

KHALDOUN Mohsen

unread,
May 21, 2020, 12:27:21 PM5/21/20
to networkx-discuss
What about Boost Python library?
Reply all
Reply to author
Forward
0 new messages