bellman_visitor<EventVisitorList>
This class is an adapter that converts a list of EventVisitor's (constructed using std::pair) into a BellmanFordVisitor.
Parameter | Description | Default |
---|---|---|
EventVisitorList |
A list of EventVisitor's created with std::pair. |
boost/graph/bellman_ford_shortest_paths.hpp
This class implements all of the member functions required by BellmanFordVisitor. In each function the appropriate event is dispatched to the EventVisitor's in the EventVisitorList.
Function | Description |
---|---|
template <class EventVisitorList> |
Returns the event visitor list adapted to be a BellmanFordVisitor. |
The following are event visitors: predecessor_recorder, distance_recorder time_stamper, and property_writer.
Copyright © 2000-2001 |