Boost logo

Boost Users :

Subject: [Boost-users] BGL - accessing component subgraphs.
From: Adam Spargo (aws_at_[hidden])
Date: 2010-07-14 04:30:51


Any tips on the best way to access a subgraph - ideally without the memory
overhead of copying the subgraph to a new object.

I want to pass each component of my graph to an algorithm separately, but
in some cases the original graph will only have a single or a few
component(s), in other cases there will be many.

Maybe I will do it differently depending on how many components I have.

Any tips welcome.

Thanks,

Adam.

--
Dr Adam Spargo
High Performance Assembly Group   email: aws_at_[hidden]
Wellcome Trust Sanger Institute   Tel: +44 (0)1223 834244 x7728
Hinxton, Cambridge CB10 1SA       Fax: +44 (0)1223 494919
-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

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