[Lemon-user] Problem using EdgeMpa

Alpar Juttner alpar at cs.elte.hu
Tue Mar 31 19:15:05 CEST 2015


On Sun, 2014-06-29 at 21:43 +0200, Christopher Morris wrote:
> Hello, 
> 
> i want to assign integer weights to the edges of a ListGraph-Object.
> Thus I am using EdgeMap. Unfortunality my code doesn't compile.
> Any ideas?
>  [...]
>    ListGraph g;
>    lemon::concepts::Graph::EdgeMap<int> map(g);

This line should be
ListGraph::EdgeMap<int> map(g);

Regards,
Alpár

p.s. To avoid such a delay in the answer, please subscribe to the
mailing list before posting.



More information about the Lemon-user mailing list