Hi all,

I’m trying to implement the Betweenness Centrality Calculation in the Boost Graph Library. I’ve created a graph with the following attributes:

 

typedef adjacency_list <vecS, vecS, undirectedS> Graph;

Graph G1;

 

But I’m struggling to get the Done object created right to pass into the calculation. If anyone has some example code or suggestions I’d be really grateful.

Apologies if this is a really basic question but I’m very new to C++ and Boost!

Many thanks in advance,

Rupert