How to remove custom property map from graph dynamically ?
Hi, I have an adjacency list graph with three custom property maps attached. At some point during the run of the program, I would like to remove two of those maps from the graph. Is it possible ? How can I do it ? Thanks in advance Raja
Raj
Hi, I have an adjacency list graph with three custom property maps attached. At some point during the run of the program, I would like to remove two of those maps from the graph.
Why? Do you really mean remove, or just something more like "clear"?
Is it possible ? How can I do it ?
Internal property maps can't be removed. External property maps aren't part of the graph in the first place. Maybe if you provided more detail... -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Dave, I have an application that generates a default graph with max. number( around 5 different kinds) of internal property maps for vertices. Depending upon command-line parameters, I need to vary the number of these maps that are associated with the graph object at run-time. Can I just clear the map, check it size to be sure it is valid and use it ? (provided it does not impose a big mem. foot-print. Almost all variable custom maps are either integer or long based maps) Thank You Raja
Goo morning list I try to build a small app using boost/threads under linux with kdevelop. Sadly, I am unable to link against any boost/thread lib. I tried boost/signal for another sample, to find out if a am able to link against boost/signal and it worked. Does anybody know how to do that? And, yes i did the -pthread gcc option. By the way, how do i tell the compiler that i am using multithreading ? Do I have to do that? its gcc 3.3.3
toomy@bluewin.ch wrote:
Goo morning list I try to build a small app using boost/threads under linux with kdevelop. Sadly, I am unable to link against any boost/thread lib.
I tried boost/signal for another sample, to find out if a am able to link against boost/signal and it worked.
Does anybody know how to do that? And, yes i did the -pthread gcc option.
Sorry for the late reply. It's pretty hard to help without knowing what the error is. Could you give more details about what symptoms you're seeing, post error messages, etc.?
By the way, how do i tell the compiler that i am using multithreading ? Do I have to do that? its gcc 3.3.3
Mike
participants (4)
-
David Abrahams
-
Michael Glassford
-
Raj
-
toomy@bluewin.ch