1<HTML> 2<!-- 3 Copyright (c) 2004 Kris Beevers 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: astar_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> 20astar_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="./AStarVisitor.html">AStarVisitor</a>. 28 29 30<h3>Example</h3> 31 32See the example for <a href="./EventVisitor.html">EventVisitor</a>. 33 34<h3>Model of</h3> 35 36<a href="./AStarVisitor.html">AStarVisitor</a> 37 38<H3>Template Parameters</H3> 39 40<P> 41<TABLE border> 42<TR> 43<th>Parameter</th><th>Description</th><th>Default</th> 44</tr> 45 46<TR><TD><TT>EventVisitorList</TT></TD> 47<TD> 48A list of <a href="./EventVisitor.html">EventVisitor</a>'s created 49with <tt>std::pair</tt>. 50</TD> 51<TD><TT><a href="./null_visitor.html"><tt>null_visitor</tt></a></TT></TD> 52</TR> 53 54</table> 55 56<H3>Where Defined</H3> 57 58<P> 59<a href="../../../boost/graph/astar_search.hpp"> 60<TT>boost/graph/astar_search.hpp</TT></a> 61 62<h3>Member Functions</h3> 63 64This class implements all of the member functions required by <a 65href="./AStarVisitor.html">AStarVisitor</a>. In each function the 66appropriate event is dispatched to the <a 67href="./EventVisitor.html">EventVisitor</a>'s in the 68EventVisitorList. 69 70<h3>Non-Member Functions</h3> 71 72<table border> 73<tr> 74<th>Function</th><th>Description</th> 75</tr> 76 77<tr><td><tt> 78template <class EventVisitorList><br> 79astar_visitor<EventVisitorList><br> 80make_astar_visitor(EventVisitorList ev_list); 81</tt></td><td> 82Returns the event visitor list adapted to be an A* visitor. 83</td></tr> 84 85</table> 86 87<h3>See Also</h3> 88 89<a href="./visitor_concepts.html">Visitor concepts</a> 90<p> 91The following are event visitors: <a 92 href="./predecessor_recorder.html"><tt>predecessor_recorder</tt></a>, 93<a href="./distance_recorder.html"><tt>distance_recorder</tt></a>, 94<a href="./time_stamper.html"><tt>time_stamper</tt></a>, 95and <a href="./property_writer.html"><tt>property_writer</tt></a>. 96 97<br> 98<HR> 99<TABLE> 100<TR valign=top> 101<TD nowrap>Copyright © 2004</TD><TD> 102<A HREF="http://cs.krisbeevers.com/">Kristopher Beevers</A>, 103Rensselaer Polytechnic Institute (<A 104HREF="mailto:beevek@cs.rpi.edu">beevek@cs.rpi.edu</A>) 105</TD></TR></TABLE> 106 107</BODY> 108</HTML> 109