This concept defines the interface for single-event visitors. An
EventVisitor has an apply member function (operator()) which
is invoked within the graph algorithm at the event-point specified by
the event_filter typedef within the
EventVisitor. EventVisitor's can be combined into an EventVistorList.
The following is the list of event tags that can be invoked in BGL
algorithms. Each tag corresponds to a member function of the visitor
for an algorithm. For example, the BFSVisitor of breadth_first_search()
has a cycle_edge() member function. The corresponding tag is
on_cycle_edge. The first argument is the event visitor's
operator() must be either an edge or vertex descriptor
depending on the event tag.
Статья Boost Graph Library: EventVisitor раздела может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.