Boost logo

Boost :

From: Cromwell Enage (sponage_at_[hidden])
Date: 2006-07-11 02:34:59


--- Wang Weiwei wrote:
> Hello everyone,

Hello.

> I'm starting to make use of the BGL in one of my
> projects. It was learnt from the documentation
> that there were basically 2 forms of
> representations of a graph:
> - adjacency-list, and
> - adjacency-matrix
> The latter is normally more suitable for denser
> graphs.
>
> My question is, Is ther any function that can
> shift the graph from between these two forms of
> data structure?

Try boost::copy_graph.
<http://www.boost.org/libs/graph/doc/copy_graph.html>

                              HTH,
                              Cromwell D. Enage

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk