diff -r 2a3f3448ced1 -r 826bdac3525a lemon/dfs.h
--- a/lemon/dfs.h Thu May 26 13:21:47 2005 +0000
+++ b/lemon/dfs.h Thu May 26 15:33:16 2005 +0000
@@ -600,8 +600,8 @@
///with addSource() before using this function.
///
///\param nm must be a bool (or convertible) edge map. The algorithm
- ///will stop when it reaches a edge \c v with nm[v]==true.
- ///\warning Contrary to \ref Dfs and \ref Dijkstra, \c mn is an edge map,
+ ///will stop when it reaches an edge \c e with nm[e]==true.
+ ///\warning Contrary to \ref Dfs and \ref Dijkstra, \c nm is an edge map,
///not a node map.
template
void start(const NM &nm)
@@ -663,9 +663,10 @@
///Copies the path to \c t on the DFS tree into \c p
///This function copies the path on the DFS tree to \c t into \c p.
- ///If it \c \t is a source itself or unreachable, then it does not
+ ///If \c t is a source itself or unreachable, then it does not
///alter \c p.
- ///\todo Is it the right way to handle unreachable nodes?
+ ///\todo Is this the right way to handle unreachable nodes?
+ ///
///\return Returns \c true if a path to \c t was actually copied to \c p,
///\c false otherwise.
///\sa DirPath
@@ -687,7 +688,7 @@
///Returns the distance of a node from the root(s).
///\pre \ref run() must be called before using this function.
- ///\warning If node \c v in unreachable from the root(s) the return value
+ ///\warning If node \c v is unreachable from the root(s) then the return value
///of this funcion is undefined.
int dist(Node v) const { return (*_dist)[v]; }
@@ -744,8 +745,8 @@
///Checks if a node is reachable from the root.
- ///Returns \c true if \c v is reachable from the root.
- ///\warning The source nodes are inditated as unreached.
+ ///Returns \c true if \c v is reachable from the root(s).
+ ///\warning The source nodes are inditated as unreachable.
///\pre Either \ref run() or \ref start()
///must be called before using this function.
///
@@ -916,7 +917,7 @@
/// return the needed class.
///
/// It does not have own \ref run method. When its \ref run method is called
- /// it initiates a plain \ref Dfs class, and calls the \ref Dfs::run
+ /// it initiates a plain \ref Dfs object, and calls the \ref Dfs::run
/// method of it.
template
class DfsWizard : public TR