Boost logo

Boost :

Subject: Re: [boost] CSR graph in max flow
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-04-15 13:26:37

On Thu, 15 Apr 2010, Dan Jiang wrote:

> I see several replies from you. But none of them answered my question of
> how to setup capacity map and reverse_edge map for CSR graph (I got
> compile error). Did you get that email? If not I can resend it. -Thanks
> Dan

I sent one with the example for how to get the capacity map -- your
bundled edge property didn't have a reverse map. The capacity map is:

boost::property_map<Graph, EdgeProp::*float>::type capacity_map
= get(&EdgeProp::capacity, g);

and similar for the other maps.

-- Jeremiah Willcock

Boost list run by bdawes at, gregod at, cpdaniel at, john at