1<HTML> 2<!-- 3 Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000 4 5 Distributed under the Boost Software License, Version 1.0. 6 (See accompanying file LICENSE_1_0.txt or copy at 7 http://www.boost.org/LICENSE_1_0.txt) 8 --> 9<Head> 10<Title>Boost Graph Library: bellman_visitor</Title> 11<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b" 12 ALINK="#ff0000"> 13<IMG SRC="../../../boost.png" 14 ALT="C++ Boost" width="277" height="86"> 15 16<BR Clear> 17 18<H1> 19<pre> 20bellman_visitor<EventVisitorList> 21</pre> 22</H1> 23 24This class is an adapter that converts a list of <a 25href="./EventVisitor.html">EventVisitor</a>s (constructed using 26<tt>std::pair</tt>) into a <a 27href="./BellmanFordVisitor.html">BellmanFordVisitor</a>. 28 29 30<h3>Example</h3> 31 32 33<h3>Model of</h3> 34 35<a href="./BellmanFordVisitor.html">BellmanFordVisitor</a> 36 37<H3>Template Parameters</H3> 38 39<P> 40<TABLE border> 41<TR> 42<th>Parameter</th><th>Description</th><th>Default</th> 43</tr> 44 45<TR><TD><TT>EventVisitorList</TT></TD> 46<TD> 47A list of <a href="./EventVisitor.html">EventVisitor</a>'s created 48with <tt>std::pair</tt>. 49</TD> 50<TD><TT><a href="./null_visitor.html"><tt>null_visitor</tt></a></TT></TD> 51</TR> 52 53</table> 54 55<H3>Where Defined</H3> 56 57<P> 58<a href="../../../boost/graph/bellman_ford_shortest_paths.hpp"> 59<TT>boost/graph/bellman_ford_shortest_paths.hpp</TT></a> 60 61<h3>Member Functions</h3> 62 63This class implements all of the member functions required by <a 64href="./BellmanFordVisitor.html">BellmanFordVisitor</a>. In each function the 65appropriate event is dispatched to the <a 66href="./EventVisitor.html">EventVisitor</a> in the EventVisitorList. 67 68<h3>Non-Member Functions</h3> 69 70<table border> 71<tr> 72<th>Function</th><th>Description</th> 73</tr> 74 75<tr><td><tt> 76template <class EventVisitorList><br> 77bellman_visitor<EventVisitorList><br> 78make_bellman_visitor(EventVisitorList ev_list); 79</tt></td><td> 80Returns the event visitor list adapted to be a BellmanFordVisitor. 81</td></tr> 82 83</table> 84 85<h3>See Also</h3> 86 87<a href="./visitor_concepts.html">Visitor concepts</a> 88<p> 89The following are event visitors: <a 90 href="./predecessor_recorder.html"><tt>predecessor_recorder</tt></a>, 91<a href="./distance_recorder.html"><tt>distance_recorder</tt></a> 92<a href="./time_stamper.html"><tt>time_stamper</tt></a>, 93and <a href="./property_writer.html"><tt>property_writer</tt></a>. 94 95 96<br> 97<HR> 98<TABLE> 99<TR valign=top> 100<TD nowrap>Copyright © 2000-2001</TD><TD> 101<A HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</A>, 102Indiana University (<A 103HREF="mailto:jsiek@osl.iu.edu">jsiek@osl.iu.edu</A>)<br> 104<A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Indiana University (<A HREF="mailto:llee@cs.indiana.edu">llee@cs.indiana.edu</A>)<br> 105<A HREF="https://homes.cs.washington.edu/~al75">Andrew Lumsdaine</A>, 106Indiana University (<A 107HREF="mailto:lums@osl.iu.edu">lums@osl.iu.edu</A>) 108</TD></TR></TABLE> 109 110</BODY> 111</HTML> 112