lemon/bellman_ford.h
changeset 1946 17eb3eaad9f8
parent 1875 98698b69a902
child 1956 a055123339d5
     1.1 --- a/lemon/bellman_ford.h	Thu Feb 02 17:09:09 2006 +0000
     1.2 +++ b/lemon/bellman_ford.h	Thu Feb 02 17:43:24 2006 +0000
     1.3 @@ -544,11 +544,11 @@
     1.4      /// - The distance of each node from the root.
     1.5      ///
     1.6      /// \note d.run(s) is just a shortcut of the following code.
     1.7 -    /// \code
     1.8 +    ///\code
     1.9      ///  d.init();
    1.10      ///  d.addSource(s);
    1.11      ///  d.start();
    1.12 -    /// \endcode
    1.13 +    ///\endcode
    1.14      void run(Node s) {
    1.15        init();
    1.16        addSource(s);
    1.17 @@ -565,11 +565,11 @@
    1.18      /// - The distance of each node from the root.
    1.19      ///
    1.20      /// \note d.run(s, len) is just a shortcut of the following code.
    1.21 -    /// \code
    1.22 +    ///\code
    1.23      ///  d.init();
    1.24      ///  d.addSource(s);
    1.25      ///  d.limitedStart(len);
    1.26 -    /// \endcode
    1.27 +    ///\endcode
    1.28      void run(Node s, int len) {
    1.29        init();
    1.30        addSource(s);
    1.31 @@ -928,9 +928,9 @@
    1.32    /// \ref BellmanFordWizard.
    1.33    /// The following
    1.34    /// example shows how to use these parameters.
    1.35 -  /// \code
    1.36 +  ///\code
    1.37    /// bellmanford(g,length,source).predMap(preds).run();
    1.38 -  /// \endcode
    1.39 +  ///\endcode
    1.40    /// \warning Don't forget to put the \ref BellmanFordWizard::run() "run()"
    1.41    /// to the end of the parameter list.
    1.42    /// \sa BellmanFordWizard