$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Remove edge
From: Michael Olea (oleaj_at_[hidden])
Date: 2009-02-16 13:53:25
On Feb 16, 2009, at 9:39 AM, Gianni Loiacono wrote:
> Hi Michael,
> thanks for the answer.
> Can you write me an example for to use the remove_edge_if() function?
> I have read the docs on the site, but there isn't an example :(
> Thanks a lot
There's a little example attached below. I tried it with Boost 1.37.0
on Mac OS X 10.4.11 with g++ 4.0.1:
Graph Before remove_edge_if:
A <--> C E
B <--> B B D E C E
C <--> A B D
D <--> B C E
E <--> B D A B
Graph After remove_edge_if:
A <--> E
B <--> B B E C
C <--> B D
D <--> C
E <--> B A
-- Michael