Also, can someone show me how to get the weighted version of brandes? The following code calculates the unweighted version.
So, boost is exactly 1/2 of networkx's solution.
Is one version wrong? Or is this some kind of convention that boost and networkx disagree on?