diff -r 3915867b6975 -r 49045f2d28d4 lemon/dfs.h --- a/lemon/dfs.h Fri Nov 04 13:53:22 2005 +0000 +++ b/lemon/dfs.h Fri Nov 04 14:48:10 2005 +0000 @@ -642,8 +642,8 @@ if(reached(t)) { p.clear(); typename P::Builder b(p); - for(b.setStartNode(t);pred(t)!=INVALID;t=predNode(t)) - b.pushFront(pred(t)); + for(b.setStartNode(t);predEdge(t)!=INVALID;t=predNode(t)) + b.pushFront(predEdge(t)); b.commit(); return true; } @@ -670,7 +670,7 @@ ///\pre Either \ref run() or \ref start() must be called before using ///this function. ///\todo predEdge could be a better name. - Edge pred(Node v) const { return (*_pred)[v];} + Edge predEdge(Node v) const { return (*_pred)[v];} ///Returns the 'previous node' of the %DFS tree. @@ -681,7 +681,7 @@ ///It is INVALID if \c v is unreachable from the root(s) or ///if \c v itself a root. ///The %DFS tree used here is equal to the %DFS - ///tree used in \ref pred(). + ///tree used in \ref predEdge(). ///\pre Either \ref run() or \ref start() must be called before ///using this function. Node predNode(Node v) const { return (*_pred)[v]==INVALID ? INVALID: