C++ Boost

bellman_visitor<EventVisitorList>

This class is an adapter that converts a list of EventVisitors (constructed using std::pair) into a BellmanFordVisitor.

Example

Model of

BellmanFordVisitor

Template Parameters

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

Where Defined

boost/graph/bellman_ford_shortest_paths.hpp

Member Functions

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

Non-Member Functions

FunctionDescription
template <class EventVisitorList>
bellman_visitor<EventVisitorList>
make_bellman_visitor(EventVisitorList ev_list);
Returns the event visitor list adapted to be a BellmanFordVisitor.

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 (jsiek@osl.iu.edu)
Lie-Quan Lee, Indiana University (llee@cs.indiana.edu)
Andrew Lumsdaine, Indiana University (lums@osl.iu.edu)