Boost logo

Boost Users :

From: Olivier Tournaire (olitour_at_[hidden])
Date: 2006-09-11 05:51:59


I have already post this email, but I cannot see it on the list. So, I post it again ... Sorry ...

Hi all,

I am a new boost user (2 days old ...). I just want to know a few things.

1. I use an adjacency_list with my own properties to store my graph. I just want to know if it is possible to manipulate directly the properties' values. At the moment, I use get(...) to obtain the property, make my change, and use put(...) to set the new value.

2. My graph cannot contain parallel edges, so I use a setS. However, the documentation says that listS or vecS is more efficient in time and space complexity. Is it possible to use std::vector or std::list and to disallow parallele edges ?

Thanks in advance
Olivier

                 
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.



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