# HG changeset patch # User alpar # Date 1140417498 0 # Node ID bd88ea06ab69d39c18a4bfe3c99ae5f1f2c21460 # Parent 68c2c1176e9e49f8374bacf72f81b6764041911d Doc changes diff -r 68c2c1176e9e -r bd88ea06ab69 lemon/euler.h --- a/lemon/euler.h Mon Feb 20 06:32:15 2006 +0000 +++ b/lemon/euler.h Mon Feb 20 06:38:18 2006 +0000 @@ -34,19 +34,22 @@ /// \ingroup topology ///This iterator converts to the \c Edge type of the graph and using - ///operator ++ it provides an Euler tour of the graph (if there exists). + ///operator ++ it provides an Euler tour of a \e directed + ///graph (if there exists). /// ///For example ///if the given graph if Euler (i.e it has only one nontrivial component ///and the in-degree is equal to the out-degree for all nodes), - ///the following code will print the edge IDs according to an + ///the following code will put the edges of \c g + ///to the vector \c et according to an ///Euler tour of \c g. ///\code - /// for(EulerIt e(g),e!=INVALID;++e) { - /// std::cout << g.id(e) << std::eol; - /// } + /// std::vector et; + /// for(EulerIt e(g),e!=INVALID;++e) + /// et.push_back(e); ///\endcode ///If \c g is not Euler then the resulted tour will not be full or closed. + ///\sa UEulerIt ///\todo Test required template class EulerIt @@ -118,8 +121,10 @@ ///Euler iterator for undirected graphs. /// \ingroup topology - ///This iterator converts to the \c Edge type of the graph and using - ///operator ++ it provides an Euler tour of the graph (if there exists). + ///This iterator converts to the \c Edge (or \cUEdge) + ///type of the graph and using + ///operator ++ it provides an Euler tour of an \undirected + ///graph (if there exists). /// ///For example ///if the given graph if Euler (i.e it has only one nontrivial component @@ -136,6 +141,7 @@ ///returns directed edges (that convert to the undirected ones, of course). /// ///If \c g is not Euler then the resulted tour will not be full or closed. + ///\sa EulerIt ///\todo Test required template class UEulerIt