3 -- Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
5 -- Permission to use, copy, modify, distribute and sell this software
6 -- and its documentation for any purpose is hereby granted without fee,
7 -- provided that the above copyright notice appears in all copies and
8 -- that both that copyright notice and this permission notice appear
9 -- in supporting documentation. We make no
10 -- representations about the suitability of this software for any
11 -- purpose. It is provided "as is" without express or implied warranty.
14 <Title>Boost Graph Library: dfs_visitor
</Title>
15 <BODY BGCOLOR=
"#ffffff" LINK=
"#0000ee" TEXT=
"#000000" VLINK=
"#551a8b"
17 <IMG SRC=
"../../../c++boost.gif"
18 ALT=
"C++ Boost" width=
"277" height=
"86">
24 dfs_visitor
<EventVisitorList
>
28 This class is an adapter that converts a list of
<a
29 href=
"./EventVisitor.html">EventVisitor
</a>'s (constructed using
30 <tt>std::pair
</tt>) into a
<a href=
"./DFSVisitor.html">DFSVisitor
</a>.
35 See the example for
<a href=
"./EventVisitor.html">EventVisitor
</a>.
39 <a href=
"./DFSVisitor.html">DFSVisitor
</a>
41 <H3>Template Parameters
</H3>
46 <th>Parameter
</th><th>Description
</th><th>Default
</th>
49 <TR><TD><TT>EventVisitorList
</TT></TD>
51 A list of
<a href=
"./EventVisitor.html">EventVisitor
</a>'s created
52 with
<tt>std::pair
</tt>.
54 <TD><TT><a href=
"./null_visitor.html"><tt>null_visitor
</tt></a></TT></TD>
59 <H3>Where Defined
</H3>
62 <a href=
"../../../boost/graph/depth_first_search.hpp">
63 <TT>boost/graph/depth_first_search.hpp
</TT></a>
65 <h3>Member Functions
</h3>
67 This class implements all of the member functions required by
<a
68 href=
"./DFSVisitor.html">DFSVisitor
</a>. In each function the
69 appropriate event is dispatched to the
<a
70 href=
"./EventVisitor.html">EventVisitor
</a>'s in the EventVisitorList.
72 <h3>Non-Member Functions
</h3>
76 <th>Function
</th><th>Description
</th>
80 template
<class EventVisitorList
><br>
81 dfs_visitor
<EventVisitorList
><br>
82 make_dfs_visitor(EventVisitorList ev_list);
84 Returns the event visitor list adapted to be a DFS visitor.
91 <a href=
"./visitor_concepts.html">Visitor concepts
</a>
93 The following are event visitors:
<a
94 href=
"./predecessor_recorder.html"><tt>predecessor_recorder
</tt></a>,
95 <a href=
"./distance_recorder.html"><tt>distance_recorder
</tt></a>,
96 <a href=
"./time_stamper.html"><tt>time_stamper
</tt></a>,
97 and
<a href=
"./property_writer.html"><tt>property_writer
</tt></a>.
104 <TD nowrap
>Copyright ©
2000</TD><TD>
105 <A HREF=http://www.boost.org/people/jeremy_siek.htm
>Jeremy Siek
</A>,
106 Univ.of Notre Dame (
<A
107 HREF=
"mailto:jsiek@lsc.nd.edu">jsiek@lsc.nd.edu
</A>)
<br>
108 <A HREF=http://www.lsc.nd.edu/~llee1
>Lie-Quan Lee
</A>, Univ.of Notre Dame (
<A HREF=
"mailto:llee1@lsc.nd.edu">llee1@lsc.nd.edu
</A>)
<br>
109 <A HREF=http://www.lsc.nd.edu/~lums
>Andrew Lumsdaine
</A>,
110 Univ.of Notre Dame (
<A
111 HREF=
"mailto:lums@lsc.nd.edu">lums@lsc.nd.edu
</A>)