Hi,
I am very much a newbie at this and would greatly appreciate some help
on how I could get the brandes_betweenness_centrality function to work
for me.
I have the following code that compiles without error, but seg faults
when I run it:
#include <map>
#include
#include
#include
#include
#include
int main() {
... // I am reading a network from a file and storing it into lEdges
and lNumVertices
typedef adjacency_list Graph;
Graph g(lEdges.begin(), lEdges.end(), lNumVertices);
typedef boost::exterior_vertex_property BetweennessProperty;
typedef BetweennessProperty::map_type BetweennessMap;
BetweennessMap lMap;
brandes_betweenness_centrality(g, lMap);
}
If I could get this to work, I then have aspirations that the helper
function central_point_dominance(g, lMap) might give me the betweenness
centralization measure that I'm after.
Thanks in advance for your help!
Matthew