use directly in C++

Hi all,

Has anyone build (maybe it needs some minor modifications) and used graph-tool with C++ code directly? Similar to a BGL wrapper for example.

Best,
Tasos

Hi,

Hi all,

Has anyone build (maybe it needs some minor modifications) and used
graph-tool with C++ code directly? Similar to a BGL wrapper for
example.

It is relatively easy to extend graph-tool with additional algorithms
written in C++. I'm planning to document this whenever I find some free
time.

However, If you want to use the existing algorithms in C++ code, then
there is no interface available, other than to use the template
functions directly from the header files. Most functions make very few
assumptions about the underlying graph structures, so you should be able
to use them with the usual BGL graphs without a problem.

Cheers,
Tiago

Hi,

Ill give it a try.
Do you think trying to change "python objects" from the functions might help in bundling it up for C++ use? or not worth it?

Thanks
T

As I said, the best option would be simply to use the C++ templates
directly. Anything else would be pointless, IMO.

Cheers,
Tiago