Boost logo

Boost Users :

Subject: [Boost-users] [PBGL] Betweenness centrality and named vertexes
From: Carmine Paolino (earcar_at_[hidden])
Date: 2010-11-27 05:07:05


Hello,

I'm trying to use `brandes_betweenness_centrality` with named vertexes but so far I haven't managed to get it working.

These are the two approaches I tried:

1. passing an iterator_property_map on the vertex_index: https://gist.github.com/f02f18f30f0eef146a58#file_betweenness_named_graph.cpp

2. passing a property_map on a float inside the vertex: https://gist.github.com/f02f18f30f0eef146a58#file_betweenness_named_graph2.cpp

And these are the compile logs for the first file:
clang: https://gist.github.com/f02f18f30f0eef146a58#file_compile_clang.log
gcc:https://gist.github.com/f02f18f30f0eef146a58#file_compile_gcc.log

and the second file:
clang: https://gist.github.com/f02f18f30f0eef146a58#file_compile_clang2.log
gcc: https://gist.github.com/f02f18f30f0eef146a58#file_compile_gcc2.log

What I'm doing wrong?

Thanks in advance


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net