Hi,

Is there a good way to call igraph C/C++ functions (e.g., igraph_distances_dijkstra) directly from C/C++ in our own package code? We have an application where we would like to calculate the shortest paths using the dijkstra algorithm and where efficiency is critical with potentially thousands of calls. So we it would be key if we could access igraph directly from compiled code.

Thanks,

Cyril Milleret

It is unclear to me what you mean. Of course you can use the igraph C library from C. The documentation is here: igraph library

EDIT: The way you asked the question makes me suspect that you are actually using one of the high-level interfaces. If so, please explain in detail which one you are using and what exactly you are trying to do.

Thank you for your quick reply. I need some time to come up with a detailed answer.