]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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> | |
20 | astar_visitor<EventVisitorList> | |
21 | </pre> | |
22 | </H1> | |
23 | ||
24 | This class is an adapter that converts a list of <a | |
25 | href="./EventVisitor.html">EventVisitor</a>'s (constructed using | |
26 | <tt>std::pair</tt>) into a <a | |
27 | href="./AStarVisitor.html">AStarVisitor</a>. | |
28 | ||
29 | ||
30 | <h3>Example</h3> | |
31 | ||
32 | See 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> | |
48 | A list of <a href="./EventVisitor.html">EventVisitor</a>'s created | |
49 | with <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 | ||
64 | This class implements all of the member functions required by <a | |
65 | href="./AStarVisitor.html">AStarVisitor</a>. In each function the | |
66 | appropriate event is dispatched to the <a | |
67 | href="./EventVisitor.html">EventVisitor</a>'s in the | |
68 | EventVisitorList. | |
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> | |
78 | template <class EventVisitorList><br> | |
79 | astar_visitor<EventVisitorList><br> | |
80 | make_astar_visitor(EventVisitorList ev_list); | |
81 | </tt></td><td> | |
82 | Returns 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> | |
91 | The 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>, | |
95 | and <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://www.cs.rpi.edu/~beevek/">Kristopher Beevers</A>, | |
103 | Rensselaer Polytechnic Institute (<A | |
104 | HREF="mailto:beevek@cs.rpi.edu">beevek@cs.rpi.edu</A>) | |
105 | </TD></TR></TABLE> | |
106 | ||
107 | </BODY> | |
108 | </HTML> |