dfs_visitor

dfs_visitor<EventVisitorList>

This class is an adaptor that converts a list of EventVisitor's (constructed using std::pair) into a DFSVisitor.

Example

See the example for EventVisitor.

Model of

DFSVisitor

Template Parameters

Parameter Description Default
EventVisitorList

A list of EventVisitor's created with std::pair.

null_visitor

Where Defined

boost/graph/depth_first_search.hpp

Member Functions

This class implements all of the member functions required by DFSVisitor. In each function the appropriate event is dispatched to the EventVisitor's in the EventVisitorList.

Non-Member Functions

Function Description

template <class EventVisitorList>
dfs_visitor<EventVisitorList>
make_dfs_visitor(EventVisitorList ev_list);

Returns the event visitor list adapted to be a DFS visitor.

See Also

Visitor concepts

The following are event visitors: predecessor_recorder, distance_recorder, time_stamper, and property_writer.


Copyright © 2000-2001
Jeremy Siek, Indiana University ([email protected])
Lie-Quan Lee, Indiana University ([email protected])
Andrew Lumsdaine, Indiana University ([email protected])

Top