Can't find a clear example of disallowing parallel edges
I'm trying to use this graph class without detailed reading. I can't
find a decent, clear example of doing this. I have a simple graph:
typedef adjacency_list Graph;
What do I do to prevent parallel edges to be inserted?
Thanks for any help offered,
Arthur
Arthur,
see the following:
http://www.boost.org/libs/graph/doc/using_adjacency_list.html
^- see specifically "Choosing the EdgeList type".. Sequence vs.
AssociativeContainer vs. UniqueAssociativeContainer
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost/boost/libs/graph/example/container_gen.cpp?rev=1.1&content-type=text/vnd.viewcvs-markup
^- container_gen.cpp example
HTH - Chris
"Arthur"
I'm trying to use this graph class without detailed reading. I can't find a decent, clear example of doing this. I have a simple graph:
typedef adjacency_list
Graph;
What do I do to prevent parallel edges to be inserted?
Thanks for any help offered, Arthur
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
participants (2)
-
Arthur
-
Chris Russell