[graph-tool] Accessibility from C++

2019-01-10 Thread Gerion Entrup
Hi, I need a graph library that is accessible for both Python and C++ together with a few other requirements. graph-tool seems to fulfill all this requirements. However, I don't find any information whether the library is usable from C++ code as well. My project consists out of several modules

[graph-tool] Accessibility from C++

2019-01-10 Thread Tiago de Paula Peixoto
Am 10.01.19 um 13:48 schrieb Gerion Entrup: > So my question is: Is it possible to get the C++ graph object out of the > Python graph object? Is it possible to fill the C++ graph object > directly with nodes and edges? This is possible, and not very difficult. However, it's undocumented at the

Re: [graph-tool] graph-tool example failure

2019-01-10 Thread Tiago de Paula Peixoto
Am 09.01.19 um 00:01 schrieb Moritz Warning: > Hi, > > I tried to following: > > $ docker run -it -u user -w /home/user tiagopeixoto/graph-tool ipython > Python 3.6.5 (default, May 11 2018, 04:00:52) > Type 'copyright', 'credits' or 'license' for more information > IPython 6.3.1 -- An enhanced

Re: [graph-tool] Getting negative entropy/positive Log likelihood for a weighted network with positive edge weights.

2019-01-10 Thread Tiago de Paula Peixoto
Am 10.01.19 um 04:27 schrieb isukritgupta: > Dear Tiago, I am trying to model a weighted dense network with edge weights > in the range 0 to 1, with the non-hierarchical SBM for both degree corrected > and non-degree corrected versions. However, I get negative entropy for both > dc and ndc SBMs. I