From: Yardumian, Hrant (HEYA) (HEYA_at_[hidden])
Date: 2001-04-04 12:16:26
Thanks for your response. I have included all the files below. The most
ones are main.cpp, ColorTolerance.h and WeightTolerance.h. Boost typedefs
in GraphTypes.h. If you can't open these files please let me know and I
them in a different form
The attached code will crash on MSVC++.
I should mention that related to filtered_graph, a colleague of mine made a
in boost/iterator_adaptors.hpp. In class filter_iterator_generator, he
before the BOOST_STATIC_CONSTANT line. The code was not even compiling
until that was done.
Please note that:
1) in main.cpp, in the bottom of the listing where the filtered graph is
if the commented out line is used instead, (with only an edge
then this code will work fine.
2) in ColorTolerance.h, if the commented out default constructor is used,
the commented out code for operator() is used, the run will not crash,
but it will
still not filter the graph appropriately.
<<GraphTypes.h>> <<Output.h>> <<ColorTolerance.h>> <<printGraph.h>>
<<WeightTolerance.h>> <<main.cpp>> <<Output.cpp>> <<FilteredGraph.dsp>>
Hrant E. Yardumian
Chevron Petroleum Technology Co.
6001 Bollinger Canyon Rd. E-1192
San Ramon, CA 94583
Fax :(925) 842-6283
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk