iterate over vertices with special propoerty

Hi, I want to write an iterator which returns the vertices with a special property. For example have an functions which takes a graph and a string and returns an iterator over all the vertices that have this string as their name. Thanks Best Regards, A. Yazdanbakhsh
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
PhD. Student School of Electrical and Computer Engineering University of Wisconsin-Madison E-mail: yazdanbakhsh@wisc.edu <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Amir Yazdanbakhsh
I want to write an iterator which returns the vertices with a special property. For example have an functions which takes a graph and a string and returns an iterator over all the vertices that have this string as their name. Thanks
boost::filter_iterator should do it. -- Philipp Moeller, GeometryFactory
participants (2)
-
Amir Yazdanbakhsh
-
Philipp Moeller