Doc reorganization + improvements
authorPeter Kovacs <kpeter@inf.elte.hu>
Thu, 09 Oct 2008 13:27:35 +0200
changeset 3142cc60866a0c9
parent 313 64f8f7cc6168
child 315 c175e387da19
Doc reorganization + improvements

- Reorganize several tools (move them to other modules).
- Add new module for map concepts.
- Remove the doc of all tools in lemon/bits.
- Improvements in groups.dox.
- Fix some doxygen warnings.
doc/groups.dox
doc/mainpage.dox
doc/migration.dox
lemon/bits/alteration_notifier.h
lemon/bits/array_map.h
lemon/bits/base_extender.h
lemon/bits/bezier.h
lemon/bits/default_map.h
lemon/bits/enable_if.h
lemon/bits/graph_extender.h
lemon/bits/map_extender.h
lemon/bits/traits.h
lemon/bits/vector_map.h
lemon/concepts/maps.h
lemon/dim2.h
lemon/maps.h
lemon/time_measure.h
     1.1 --- a/doc/groups.dox	Thu Oct 09 10:09:44 2008 +0200
     1.2 +++ b/doc/groups.dox	Thu Oct 09 13:27:35 2008 +0200
     1.3 @@ -54,7 +54,9 @@
     1.4  
     1.5  You are free to use the graph structure that fit your requirements
     1.6  the best, most graph algorithms and auxiliary data structures can be used
     1.7 -with any graph structures.
     1.8 +with any graph structure.
     1.9 +
    1.10 +<b>See also:</b> \ref graph_concepts "Graph Structure Concepts".
    1.11  */
    1.12  
    1.13  /**
    1.14 @@ -74,8 +76,10 @@
    1.15  
    1.16  This group describes the map structures implemented in LEMON.
    1.17  
    1.18 -LEMON provides several special purpose maps that e.g. combine
    1.19 +LEMON provides several special purpose maps and map adaptors that e.g. combine
    1.20  new maps from existing ones.
    1.21 +
    1.22 +<b>See also:</b> \ref map_concepts "Map Concepts".
    1.23  */
    1.24  
    1.25  /**
    1.26 @@ -87,7 +91,6 @@
    1.27  values to the nodes and arcs of graphs.
    1.28  */
    1.29  
    1.30 -
    1.31  /**
    1.32  \defgroup map_adaptors Map Adaptors
    1.33  \ingroup maps
    1.34 @@ -104,7 +107,7 @@
    1.35  The typical usage of this classes is passing implicit maps to
    1.36  algorithms.  If a function type algorithm is called then the function
    1.37  type map adaptors can be used comfortable. For example let's see the
    1.38 -usage of map adaptors with the \c digraphToEps() function.
    1.39 +usage of map adaptors with the \c graphToEps() function.
    1.40  \code
    1.41    Color nodeColor(int deg) {
    1.42      if (deg >= 2) {
    1.43 @@ -118,13 +121,13 @@
    1.44  
    1.45    Digraph::NodeMap<int> degree_map(graph);
    1.46  
    1.47 -  digraphToEps(graph, "graph.eps")
    1.48 +  graphToEps(graph, "graph.eps")
    1.49      .coords(coords).scaleToA4().undirected()
    1.50      .nodeColors(composeMap(functorToMap(nodeColor), degree_map))
    1.51      .run();
    1.52  \endcode
    1.53  The \c functorToMap() function makes an \c int to \c Color map from the
    1.54 -\e nodeColor() function. The \c composeMap() compose the \e degree_map
    1.55 +\c nodeColor() function. The \c composeMap() compose the \c degree_map
    1.56  and the previously created map. The composed map is a proper function to
    1.57  get the color of each node.
    1.58  
    1.59 @@ -173,7 +176,6 @@
    1.60  any kind of path structure.
    1.61  
    1.62  \sa lemon::concepts::Path
    1.63 -
    1.64  */
    1.65  
    1.66  /**
    1.67 @@ -185,7 +187,6 @@
    1.68  order to make it easier to implement combinatorial algorithms.
    1.69  */
    1.70  
    1.71 -
    1.72  /**
    1.73  @defgroup algs Algorithms
    1.74  \brief This group describes the several algorithms
    1.75 @@ -201,11 +202,11 @@
    1.76  \brief Common graph search algorithms.
    1.77  
    1.78  This group describes the common graph search algorithms like
    1.79 -Breadth-first search (Bfs) and Depth-first search (Dfs).
    1.80 +Breadth-First Search (BFS) and Depth-First Search (DFS).
    1.81  */
    1.82  
    1.83  /**
    1.84 -@defgroup shortest_path Shortest Path algorithms
    1.85 +@defgroup shortest_path Shortest Path Algorithms
    1.86  @ingroup algs
    1.87  \brief Algorithms for finding shortest paths.
    1.88  
    1.89 @@ -213,7 +214,7 @@
    1.90  */
    1.91  
    1.92  /**
    1.93 -@defgroup max_flow Maximum Flow algorithms
    1.94 +@defgroup max_flow Maximum Flow Algorithms
    1.95  @ingroup algs
    1.96  \brief Algorithms for finding maximum flows.
    1.97  
    1.98 @@ -241,11 +242,10 @@
    1.99  fastest method to compute the maximum flow. All impelementations
   1.100  provides functions to query the minimum cut, which is the dual linear
   1.101  programming problem of the maximum flow.
   1.102 -
   1.103  */
   1.104  
   1.105  /**
   1.106 -@defgroup min_cost_flow Minimum Cost Flow algorithms
   1.107 +@defgroup min_cost_flow Minimum Cost Flow Algorithms
   1.108  @ingroup algs
   1.109  
   1.110  \brief Algorithms for finding minimum cost flows and circulations.
   1.111 @@ -255,7 +255,7 @@
   1.112  */
   1.113  
   1.114  /**
   1.115 -@defgroup min_cut Minimum Cut algorithms
   1.116 +@defgroup min_cut Minimum Cut Algorithms
   1.117  @ingroup algs
   1.118  
   1.119  \brief Algorithms for finding minimum cut in graphs.
   1.120 @@ -282,11 +282,10 @@
   1.121  
   1.122  If you want to find minimum cut just between two distinict nodes,
   1.123  please see the \ref max_flow "Maximum Flow page".
   1.124 -
   1.125  */
   1.126  
   1.127  /**
   1.128 -@defgroup graph_prop Connectivity and other graph properties
   1.129 +@defgroup graph_prop Connectivity and Other Graph Properties
   1.130  @ingroup algs
   1.131  \brief Algorithms for discovering the graph properties
   1.132  
   1.133 @@ -298,7 +297,7 @@
   1.134  */
   1.135  
   1.136  /**
   1.137 -@defgroup planar Planarity embedding and drawing
   1.138 +@defgroup planar Planarity Embedding and Drawing
   1.139  @ingroup algs
   1.140  \brief Algorithms for planarity checking, embedding and drawing
   1.141  
   1.142 @@ -310,7 +309,7 @@
   1.143  */
   1.144  
   1.145  /**
   1.146 -@defgroup matching Matching algorithms
   1.147 +@defgroup matching Matching Algorithms
   1.148  @ingroup algs
   1.149  \brief Algorithms for finding matchings in graphs and bipartite graphs.
   1.150  
   1.151 @@ -348,11 +347,10 @@
   1.152  
   1.153  \image html bipartite_matching.png
   1.154  \image latex bipartite_matching.eps "Bipartite Matching" width=\textwidth
   1.155 -
   1.156  */
   1.157  
   1.158  /**
   1.159 -@defgroup spantree Minimum Spanning Tree algorithms
   1.160 +@defgroup spantree Minimum Spanning Tree Algorithms
   1.161  @ingroup algs
   1.162  \brief Algorithms for finding a minimum cost spanning tree in a graph.
   1.163  
   1.164 @@ -360,9 +358,8 @@
   1.165  tree in a graph
   1.166  */
   1.167  
   1.168 -
   1.169  /**
   1.170 -@defgroup auxalg Auxiliary algorithms
   1.171 +@defgroup auxalg Auxiliary Algorithms
   1.172  @ingroup algs
   1.173  \brief Auxiliary algorithms implemented in LEMON.
   1.174  
   1.175 @@ -371,7 +368,8 @@
   1.176  */
   1.177  
   1.178  /**
   1.179 -@defgroup approx Approximation algorithms
   1.180 +@defgroup approx Approximation Algorithms
   1.181 +@ingroup algs
   1.182  \brief Approximation algorithms.
   1.183  
   1.184  This group describes the approximation and heuristic algorithms
   1.185 @@ -385,22 +383,20 @@
   1.186  
   1.187  This group describes some general optimization frameworks
   1.188  implemented in LEMON.
   1.189 -
   1.190  */
   1.191  
   1.192  /**
   1.193 -@defgroup lp_group Lp and Mip solvers
   1.194 +@defgroup lp_group Lp and Mip Solvers
   1.195  @ingroup gen_opt_group
   1.196  \brief Lp and Mip solver interfaces for LEMON.
   1.197  
   1.198  This group describes Lp and Mip solver interfaces for LEMON. The
   1.199  various LP solvers could be used in the same manner with this
   1.200  interface.
   1.201 -
   1.202  */
   1.203  
   1.204  /**
   1.205 -@defgroup lp_utils Tools for Lp and Mip solvers
   1.206 +@defgroup lp_utils Tools for Lp and Mip Solvers
   1.207  @ingroup lp_group
   1.208  \brief Helper tools to the Lp and Mip solvers.
   1.209  
   1.210 @@ -441,7 +437,7 @@
   1.211  */
   1.212  
   1.213  /**
   1.214 -@defgroup timecount Time measuring and Counting
   1.215 +@defgroup timecount Time Measuring and Counting
   1.216  @ingroup misc
   1.217  \brief Simple tools for measuring the performance of algorithms.
   1.218  
   1.219 @@ -450,15 +446,6 @@
   1.220  */
   1.221  
   1.222  /**
   1.223 -@defgroup graphbits Tools for Graph Implementation
   1.224 -@ingroup utils
   1.225 -\brief Tools to make it easier to create graphs.
   1.226 -
   1.227 -This group describes the tools that makes it easier to create graphs and
   1.228 -the maps that dynamically update with the graph changes.
   1.229 -*/
   1.230 -
   1.231 -/**
   1.232  @defgroup exceptions Exceptions
   1.233  @ingroup utils
   1.234  \brief Exceptions defined in LEMON.
   1.235 @@ -471,21 +458,22 @@
   1.236  \brief Graph Input-Output methods
   1.237  
   1.238  This group describes the tools for importing and exporting graphs
   1.239 -and graph related data. Now it supports the LEMON format, the
   1.240 -\c DIMACS format and the encapsulated postscript (EPS) format.
   1.241 +and graph related data. Now it supports the \ref lgf-format
   1.242 +"LEMON Graph Format", the \c DIMACS format and the encapsulated
   1.243 +postscript (EPS) format.
   1.244  */
   1.245  
   1.246  /**
   1.247  @defgroup lemon_io LEMON Input-Output
   1.248  @ingroup io_group
   1.249 -\brief Reading and writing \ref lgf-format "LEMON Graph Format".
   1.250 +\brief Reading and writing LEMON Graph Format.
   1.251  
   1.252  This group describes methods for reading and writing
   1.253  \ref lgf-format "LEMON Graph Format".
   1.254  */
   1.255  
   1.256  /**
   1.257 -@defgroup eps_io Postscript exporting
   1.258 +@defgroup eps_io Postscript Exporting
   1.259  @ingroup io_group
   1.260  \brief General \c EPS drawer and graph exporter
   1.261  
   1.262 @@ -493,7 +481,6 @@
   1.263  graph exporting tools.
   1.264  */
   1.265  
   1.266 -
   1.267  /**
   1.268  @defgroup concept Concepts
   1.269  \brief Skeleton classes and concept checking classes
   1.270 @@ -521,10 +508,8 @@
   1.271    concept indeed provides all the required features.
   1.272  
   1.273  - Finally, They can serve as a skeleton of a new implementation of a concept.
   1.274 -
   1.275  */
   1.276  
   1.277 -
   1.278  /**
   1.279  @defgroup graph_concepts Graph Structure Concepts
   1.280  @ingroup concept
   1.281 @@ -534,10 +519,12 @@
   1.282  graph structures and helper classes used to implement these.
   1.283  */
   1.284  
   1.285 -/* --- Unused group
   1.286 -@defgroup experimental Experimental Structures and Algorithms
   1.287 -This group describes some Experimental structures and algorithms.
   1.288 -The stuff here is subject to change.
   1.289 +/**
   1.290 +@defgroup map_concepts Map Concepts
   1.291 +@ingroup concept
   1.292 +\brief Skeleton and concept checking classes for maps
   1.293 +
   1.294 +This group describes the skeletons and concept checking classes of maps.
   1.295  */
   1.296  
   1.297  /**
     2.1 --- a/doc/mainpage.dox	Thu Oct 09 10:09:44 2008 +0200
     2.2 +++ b/doc/mainpage.dox	Thu Oct 09 13:27:35 2008 +0200
     2.3 @@ -50,11 +50,12 @@
     2.4  
     2.5  If you
     2.6  want to see how LEMON works, see
     2.7 -some \ref demoprograms "demo programs"!
     2.8 +some \ref demoprograms "demo programs".
     2.9  
    2.10  If you know what you are looking for then try to find it under the
    2.11  <a class="el" href="modules.html">Modules</a>
    2.12  section.
    2.13  
    2.14 -If you are a user of the old (0.x) series of LEMON, please check out the \ref migration "Migration Guide" for the backward incompatibilities.
    2.15 +If you are a user of the old (0.x) series of LEMON, please check out the
    2.16 +\ref migration "Migration Guide" for the backward incompatibilities.
    2.17  */
     3.1 --- a/doc/migration.dox	Thu Oct 09 10:09:44 2008 +0200
     3.2 +++ b/doc/migration.dox	Thu Oct 09 13:27:35 2008 +0200
     3.3 @@ -57,7 +57,7 @@
     3.4  the words \c graph, \c digraph, \c edge and \c arc, so it replaces them
     3.5  in strings, comments etc. as well as in all identifiers.</b>
     3.6  
     3.7 -\section migration-lgf LGF tools 
     3.8 +\section migration-lgf LGF tools
     3.9   - The \ref lgf-format "LGF file format" has changed,
    3.10     <tt>\@nodeset</tt> has changed to <tt>\@nodes</tt>,
    3.11     <tt>\@edgeset</tt> and <tt>\@uedgeset</tt> to <tt>\@arcs</tt> or
     4.1 --- a/lemon/bits/alteration_notifier.h	Thu Oct 09 10:09:44 2008 +0200
     4.2 +++ b/lemon/bits/alteration_notifier.h	Thu Oct 09 13:27:35 2008 +0200
     4.3 @@ -24,75 +24,75 @@
     4.4  
     4.5  #include <lemon/core.h>
     4.6  
     4.7 -///\ingroup graphbits
     4.8 -///\file
     4.9 -///\brief Observer notifier for graph alteration observers.
    4.10 +//\ingroup graphbits
    4.11 +//\file
    4.12 +//\brief Observer notifier for graph alteration observers.
    4.13  
    4.14  namespace lemon {
    4.15  
    4.16 -  /// \ingroup graphbits
    4.17 -  ///
    4.18 -  /// \brief Notifier class to notify observes about alterations in
    4.19 -  /// a container.
    4.20 -  ///
    4.21 -  /// The simple graph's can be refered as two containers, one node container
    4.22 -  /// and one edge container. But they are not standard containers they
    4.23 -  /// does not store values directly they are just key continars for more
    4.24 -  /// value containers which are the node and edge maps.
    4.25 -  ///
    4.26 -  /// The graph's node and edge sets can be changed as we add or erase
    4.27 -  /// nodes and edges in the graph. LEMON would like to handle easily
    4.28 -  /// that the node and edge maps should contain values for all nodes or
    4.29 -  /// edges. If we want to check on every indicing if the map contains
    4.30 -  /// the current indicing key that cause a drawback in the performance
    4.31 -  /// in the library. We use another solution we notify all maps about
    4.32 -  /// an alteration in the graph, which cause only drawback on the
    4.33 -  /// alteration of the graph.
    4.34 -  ///
    4.35 -  /// This class provides an interface to the container. The \e first() and \e
    4.36 -  /// next() member functions make possible to iterate on the keys of the
    4.37 -  /// container. The \e id() function returns an integer id for each key.
    4.38 -  /// The \e maxId() function gives back an upper bound of the ids.
    4.39 -  ///
    4.40 -  /// For the proper functonality of this class, we should notify it
    4.41 -  /// about each alteration in the container. The alterations have four type
    4.42 -  /// as \e add(), \e erase(), \e build() and \e clear(). The \e add() and
    4.43 -  /// \e erase() signals that only one or few items added or erased to or
    4.44 -  /// from the graph. If all items are erased from the graph or from an empty
    4.45 -  /// graph a new graph is builded then it can be signaled with the
    4.46 -  /// clear() and build() members. Important rule that if we erase items
    4.47 -  /// from graph we should first signal the alteration and after that erase
    4.48 -  /// them from the container, on the other way on item addition we should
    4.49 -  /// first extend the container and just after that signal the alteration.
    4.50 -  ///
    4.51 -  /// The alteration can be observed with a class inherited from the
    4.52 -  /// \e ObserverBase nested class. The signals can be handled with
    4.53 -  /// overriding the virtual functions defined in the base class.  The
    4.54 -  /// observer base can be attached to the notifier with the
    4.55 -  /// \e attach() member and can be detached with detach() function. The
    4.56 -  /// alteration handlers should not call any function which signals
    4.57 -  /// an other alteration in the same notifier and should not
    4.58 -  /// detach any observer from the notifier.
    4.59 -  ///
    4.60 -  /// Alteration observers try to be exception safe. If an \e add() or
    4.61 -  /// a \e clear() function throws an exception then the remaining
    4.62 -  /// observeres will not be notified and the fulfilled additions will
    4.63 -  /// be rolled back by calling the \e erase() or \e clear()
    4.64 -  /// functions. Thence the \e erase() and \e clear() should not throw
    4.65 -  /// exception. Actullay, it can be throw only \ref ImmediateDetach 
    4.66 -  /// exception which detach the observer from the notifier.
    4.67 -  ///
    4.68 -  /// There are some place when the alteration observing is not completly
    4.69 -  /// reliable. If we want to carry out the node degree in the graph
    4.70 -  /// as in the \ref InDegMap and we use the reverseEdge that cause
    4.71 -  /// unreliable functionality. Because the alteration observing signals
    4.72 -  /// only erasing and adding but not the reversing it will stores bad
    4.73 -  /// degrees. The sub graph adaptors cannot signal the alterations because
    4.74 -  /// just a setting in the filter map can modify the graph and this cannot
    4.75 -  /// be watched in any way.
    4.76 -  ///
    4.77 -  /// \param _Container The container which is observed.
    4.78 -  /// \param _Item The item type which is obserbved.
    4.79 +  // \ingroup graphbits
    4.80 +  //
    4.81 +  // \brief Notifier class to notify observes about alterations in
    4.82 +  // a container.
    4.83 +  //
    4.84 +  // The simple graph's can be refered as two containers, one node container
    4.85 +  // and one edge container. But they are not standard containers they
    4.86 +  // does not store values directly they are just key continars for more
    4.87 +  // value containers which are the node and edge maps.
    4.88 +  //
    4.89 +  // The graph's node and edge sets can be changed as we add or erase
    4.90 +  // nodes and edges in the graph. LEMON would like to handle easily
    4.91 +  // that the node and edge maps should contain values for all nodes or
    4.92 +  // edges. If we want to check on every indicing if the map contains
    4.93 +  // the current indicing key that cause a drawback in the performance
    4.94 +  // in the library. We use another solution we notify all maps about
    4.95 +  // an alteration in the graph, which cause only drawback on the
    4.96 +  // alteration of the graph.
    4.97 +  //
    4.98 +  // This class provides an interface to the container. The \e first() and \e
    4.99 +  // next() member functions make possible to iterate on the keys of the
   4.100 +  // container. The \e id() function returns an integer id for each key.
   4.101 +  // The \e maxId() function gives back an upper bound of the ids.
   4.102 +  //
   4.103 +  // For the proper functonality of this class, we should notify it
   4.104 +  // about each alteration in the container. The alterations have four type
   4.105 +  // as \e add(), \e erase(), \e build() and \e clear(). The \e add() and
   4.106 +  // \e erase() signals that only one or few items added or erased to or
   4.107 +  // from the graph. If all items are erased from the graph or from an empty
   4.108 +  // graph a new graph is builded then it can be signaled with the
   4.109 +  // clear() and build() members. Important rule that if we erase items
   4.110 +  // from graph we should first signal the alteration and after that erase
   4.111 +  // them from the container, on the other way on item addition we should
   4.112 +  // first extend the container and just after that signal the alteration.
   4.113 +  //
   4.114 +  // The alteration can be observed with a class inherited from the
   4.115 +  // \e ObserverBase nested class. The signals can be handled with
   4.116 +  // overriding the virtual functions defined in the base class.  The
   4.117 +  // observer base can be attached to the notifier with the
   4.118 +  // \e attach() member and can be detached with detach() function. The
   4.119 +  // alteration handlers should not call any function which signals
   4.120 +  // an other alteration in the same notifier and should not
   4.121 +  // detach any observer from the notifier.
   4.122 +  //
   4.123 +  // Alteration observers try to be exception safe. If an \e add() or
   4.124 +  // a \e clear() function throws an exception then the remaining
   4.125 +  // observeres will not be notified and the fulfilled additions will
   4.126 +  // be rolled back by calling the \e erase() or \e clear()
   4.127 +  // functions. Thence the \e erase() and \e clear() should not throw
   4.128 +  // exception. Actullay, it can be throw only \ref ImmediateDetach
   4.129 +  // exception which detach the observer from the notifier.
   4.130 +  //
   4.131 +  // There are some place when the alteration observing is not completly
   4.132 +  // reliable. If we want to carry out the node degree in the graph
   4.133 +  // as in the \ref InDegMap and we use the reverseEdge that cause
   4.134 +  // unreliable functionality. Because the alteration observing signals
   4.135 +  // only erasing and adding but not the reversing it will stores bad
   4.136 +  // degrees. The sub graph adaptors cannot signal the alterations because
   4.137 +  // just a setting in the filter map can modify the graph and this cannot
   4.138 +  // be watched in any way.
   4.139 +  //
   4.140 +  // \param _Container The container which is observed.
   4.141 +  // \param _Item The item type which is obserbved.
   4.142  
   4.143    template <typename _Container, typename _Item>
   4.144    class AlterationNotifier {
   4.145 @@ -103,92 +103,87 @@
   4.146      typedef _Container Container;
   4.147      typedef _Item Item;
   4.148  
   4.149 -    /// \brief Exception which can be called from \e clear() and
   4.150 -    /// \e erase().
   4.151 -    ///
   4.152 -    /// From the \e clear() and \e erase() function only this
   4.153 -    /// exception is allowed to throw. The exception immediatly
   4.154 -    /// detaches the current observer from the notifier. Because the
   4.155 -    /// \e clear() and \e erase() should not throw other exceptions
   4.156 -    /// it can be used to invalidate the observer.
   4.157 +    // \brief Exception which can be called from \e clear() and
   4.158 +    // \e erase().
   4.159 +    //
   4.160 +    // From the \e clear() and \e erase() function only this
   4.161 +    // exception is allowed to throw. The exception immediatly
   4.162 +    // detaches the current observer from the notifier. Because the
   4.163 +    // \e clear() and \e erase() should not throw other exceptions
   4.164 +    // it can be used to invalidate the observer.
   4.165      struct ImmediateDetach {};
   4.166  
   4.167 -    /// \brief ObserverBase is the base class for the observers.
   4.168 -    ///
   4.169 -    /// ObserverBase is the abstract base class for the observers.
   4.170 -    /// It will be notified about an item was inserted into or
   4.171 -    /// erased from the graph.
   4.172 -    ///
   4.173 -    /// The observer interface contains some pure virtual functions
   4.174 -    /// to override. The add() and erase() functions are
   4.175 -    /// to notify the oberver when one item is added or
   4.176 -    /// erased.
   4.177 -    ///
   4.178 -    /// The build() and clear() members are to notify the observer
   4.179 -    /// about the container is built from an empty container or
   4.180 -    /// is cleared to an empty container.
   4.181 -
   4.182 +    // \brief ObserverBase is the base class for the observers.
   4.183 +    //
   4.184 +    // ObserverBase is the abstract base class for the observers.
   4.185 +    // It will be notified about an item was inserted into or
   4.186 +    // erased from the graph.
   4.187 +    //
   4.188 +    // The observer interface contains some pure virtual functions
   4.189 +    // to override. The add() and erase() functions are
   4.190 +    // to notify the oberver when one item is added or
   4.191 +    // erased.
   4.192 +    //
   4.193 +    // The build() and clear() members are to notify the observer
   4.194 +    // about the container is built from an empty container or
   4.195 +    // is cleared to an empty container.
   4.196      class ObserverBase {
   4.197      protected:
   4.198        typedef AlterationNotifier Notifier;
   4.199  
   4.200        friend class AlterationNotifier;
   4.201  
   4.202 -      /// \brief Default constructor.
   4.203 -      ///
   4.204 -      /// Default constructor for ObserverBase.
   4.205 -      ///
   4.206 +      // \brief Default constructor.
   4.207 +      //
   4.208 +      // Default constructor for ObserverBase.
   4.209        ObserverBase() : _notifier(0) {}
   4.210  
   4.211 -      /// \brief Constructor which attach the observer into notifier.
   4.212 -      ///
   4.213 -      /// Constructor which attach the observer into notifier.
   4.214 +      // \brief Constructor which attach the observer into notifier.
   4.215 +      //
   4.216 +      // Constructor which attach the observer into notifier.
   4.217        ObserverBase(AlterationNotifier& nf) {
   4.218          attach(nf);
   4.219        }
   4.220  
   4.221 -      /// \brief Constructor which attach the obserever to the same notifier.
   4.222 -      ///
   4.223 -      /// Constructor which attach the obserever to the same notifier as
   4.224 -      /// the other observer is attached to.
   4.225 +      // \brief Constructor which attach the obserever to the same notifier.
   4.226 +      //
   4.227 +      // Constructor which attach the obserever to the same notifier as
   4.228 +      // the other observer is attached to.
   4.229        ObserverBase(const ObserverBase& copy) {
   4.230          if (copy.attached()) {
   4.231            attach(*copy.notifier());
   4.232          }
   4.233        }
   4.234  
   4.235 -      /// \brief Destructor
   4.236 +      // \brief Destructor
   4.237        virtual ~ObserverBase() {
   4.238          if (attached()) {
   4.239            detach();
   4.240          }
   4.241        }
   4.242  
   4.243 -      /// \brief Attaches the observer into an AlterationNotifier.
   4.244 -      ///
   4.245 -      /// This member attaches the observer into an AlterationNotifier.
   4.246 -      ///
   4.247 +      // \brief Attaches the observer into an AlterationNotifier.
   4.248 +      //
   4.249 +      // This member attaches the observer into an AlterationNotifier.
   4.250        void attach(AlterationNotifier& nf) {
   4.251          nf.attach(*this);
   4.252        }
   4.253  
   4.254 -      /// \brief Detaches the observer into an AlterationNotifier.
   4.255 -      ///
   4.256 -      /// This member detaches the observer from an AlterationNotifier.
   4.257 -      ///
   4.258 +      // \brief Detaches the observer into an AlterationNotifier.
   4.259 +      //
   4.260 +      // This member detaches the observer from an AlterationNotifier.
   4.261        void detach() {
   4.262          _notifier->detach(*this);
   4.263        }
   4.264  
   4.265 -      /// \brief Gives back a pointer to the notifier which the map
   4.266 -      /// attached into.
   4.267 -      ///
   4.268 -      /// This function gives back a pointer to the notifier which the map
   4.269 -      /// attached into.
   4.270 -      ///
   4.271 +      // \brief Gives back a pointer to the notifier which the map
   4.272 +      // attached into.
   4.273 +      //
   4.274 +      // This function gives back a pointer to the notifier which the map
   4.275 +      // attached into.
   4.276        Notifier* notifier() const { return const_cast<Notifier*>(_notifier); }
   4.277  
   4.278 -      /// Gives back true when the observer is attached into a notifier.
   4.279 +      // Gives back true when the observer is attached into a notifier.
   4.280        bool attached() const { return _notifier != 0; }
   4.281  
   4.282      private:
   4.283 @@ -200,53 +195,52 @@
   4.284        Notifier* _notifier;
   4.285        typename std::list<ObserverBase*>::iterator _index;
   4.286  
   4.287 -      /// \brief The member function to notificate the observer about an
   4.288 -      /// item is added to the container.
   4.289 -      ///
   4.290 -      /// The add() member function notificates the observer about an item
   4.291 -      /// is added to the container. It have to be overrided in the
   4.292 -      /// subclasses.
   4.293 +      // \brief The member function to notificate the observer about an
   4.294 +      // item is added to the container.
   4.295 +      //
   4.296 +      // The add() member function notificates the observer about an item
   4.297 +      // is added to the container. It have to be overrided in the
   4.298 +      // subclasses.
   4.299        virtual void add(const Item&) = 0;
   4.300  
   4.301 -      /// \brief The member function to notificate the observer about
   4.302 -      /// more item is added to the container.
   4.303 -      ///
   4.304 -      /// The add() member function notificates the observer about more item
   4.305 -      /// is added to the container. It have to be overrided in the
   4.306 -      /// subclasses.
   4.307 +      // \brief The member function to notificate the observer about
   4.308 +      // more item is added to the container.
   4.309 +      //
   4.310 +      // The add() member function notificates the observer about more item
   4.311 +      // is added to the container. It have to be overrided in the
   4.312 +      // subclasses.
   4.313        virtual void add(const std::vector<Item>& items) = 0;
   4.314  
   4.315 -      /// \brief The member function to notificate the observer about an
   4.316 -      /// item is erased from the container.
   4.317 -      ///
   4.318 -      /// The erase() member function notificates the observer about an
   4.319 -      /// item is erased from the container. It have to be overrided in
   4.320 -      /// the subclasses.
   4.321 +      // \brief The member function to notificate the observer about an
   4.322 +      // item is erased from the container.
   4.323 +      //
   4.324 +      // The erase() member function notificates the observer about an
   4.325 +      // item is erased from the container. It have to be overrided in
   4.326 +      // the subclasses.
   4.327        virtual void erase(const Item&) = 0;
   4.328  
   4.329 -      /// \brief The member function to notificate the observer about
   4.330 -      /// more item is erased from the container.
   4.331 -      ///
   4.332 -      /// The erase() member function notificates the observer about more item
   4.333 -      /// is erased from the container. It have to be overrided in the
   4.334 -      /// subclasses.
   4.335 +      // \brief The member function to notificate the observer about
   4.336 +      // more item is erased from the container.
   4.337 +      //
   4.338 +      // The erase() member function notificates the observer about more item
   4.339 +      // is erased from the container. It have to be overrided in the
   4.340 +      // subclasses.
   4.341        virtual void erase(const std::vector<Item>& items) = 0;
   4.342  
   4.343 -      /// \brief The member function to notificate the observer about the
   4.344 -      /// container is built.
   4.345 -      ///
   4.346 -      /// The build() member function notificates the observer about the
   4.347 -      /// container is built from an empty container. It have to be
   4.348 -      /// overrided in the subclasses.
   4.349 -
   4.350 +      // \brief The member function to notificate the observer about the
   4.351 +      // container is built.
   4.352 +      //
   4.353 +      // The build() member function notificates the observer about the
   4.354 +      // container is built from an empty container. It have to be
   4.355 +      // overrided in the subclasses.
   4.356        virtual void build() = 0;
   4.357  
   4.358 -      /// \brief The member function to notificate the observer about all
   4.359 -      /// items are erased from the container.
   4.360 -      ///
   4.361 -      /// The clear() member function notificates the observer about all
   4.362 -      /// items are erased from the container. It have to be overrided in
   4.363 -      /// the subclasses.
   4.364 +      // \brief The member function to notificate the observer about all
   4.365 +      // items are erased from the container.
   4.366 +      //
   4.367 +      // The clear() member function notificates the observer about all
   4.368 +      // items are erased from the container. It have to be overrided in
   4.369 +      // the subclasses.
   4.370        virtual void clear() = 0;
   4.371  
   4.372      };
   4.373 @@ -261,31 +255,30 @@
   4.374  
   4.375    public:
   4.376  
   4.377 -    /// \brief Default constructor.
   4.378 -    ///
   4.379 -    /// The default constructor of the AlterationNotifier.
   4.380 -    /// It creates an empty notifier.
   4.381 +    // \brief Default constructor.
   4.382 +    //
   4.383 +    // The default constructor of the AlterationNotifier.
   4.384 +    // It creates an empty notifier.
   4.385      AlterationNotifier()
   4.386        : container(0) {}
   4.387  
   4.388 -    /// \brief Constructor.
   4.389 -    ///
   4.390 -    /// Constructor with the observed container parameter.
   4.391 +    // \brief Constructor.
   4.392 +    //
   4.393 +    // Constructor with the observed container parameter.
   4.394      AlterationNotifier(const Container& _container)
   4.395        : container(&_container) {}
   4.396  
   4.397 -    /// \brief Copy Constructor of the AlterationNotifier.
   4.398 -    ///
   4.399 -    /// Copy constructor of the AlterationNotifier.
   4.400 -    /// It creates only an empty notifier because the copiable
   4.401 -    /// notifier's observers have to be registered still into that notifier.
   4.402 +    // \brief Copy Constructor of the AlterationNotifier.
   4.403 +    //
   4.404 +    // Copy constructor of the AlterationNotifier.
   4.405 +    // It creates only an empty notifier because the copiable
   4.406 +    // notifier's observers have to be registered still into that notifier.
   4.407      AlterationNotifier(const AlterationNotifier& _notifier)
   4.408        : container(_notifier.container) {}
   4.409  
   4.410 -    /// \brief Destructor.
   4.411 -    ///
   4.412 -    /// Destructor of the AlterationNotifier.
   4.413 -    ///
   4.414 +    // \brief Destructor.
   4.415 +    //
   4.416 +    // Destructor of the AlterationNotifier.
   4.417      ~AlterationNotifier() {
   4.418        typename Observers::iterator it;
   4.419        for (it = _observers.begin(); it != _observers.end(); ++it) {
   4.420 @@ -293,9 +286,9 @@
   4.421        }
   4.422      }
   4.423  
   4.424 -    /// \brief Sets the container.
   4.425 -    ///
   4.426 -    /// Sets the container.
   4.427 +    // \brief Sets the container.
   4.428 +    //
   4.429 +    // Sets the container.
   4.430      void setContainer(const Container& _container) {
   4.431        container = &_container;
   4.432      }
   4.433 @@ -306,34 +299,32 @@
   4.434  
   4.435    public:
   4.436  
   4.437 -
   4.438 -
   4.439 -    /// \brief First item in the container.
   4.440 -    ///
   4.441 -    /// Returns the first item in the container. It is
   4.442 -    /// for start the iteration on the container.
   4.443 +    // \brief First item in the container.
   4.444 +    //
   4.445 +    // Returns the first item in the container. It is
   4.446 +    // for start the iteration on the container.
   4.447      void first(Item& item) const {
   4.448        container->first(item);
   4.449      }
   4.450  
   4.451 -    /// \brief Next item in the container.
   4.452 -    ///
   4.453 -    /// Returns the next item in the container. It is
   4.454 -    /// for iterate on the container.
   4.455 +    // \brief Next item in the container.
   4.456 +    //
   4.457 +    // Returns the next item in the container. It is
   4.458 +    // for iterate on the container.
   4.459      void next(Item& item) const {
   4.460        container->next(item);
   4.461      }
   4.462  
   4.463 -    /// \brief Returns the id of the item.
   4.464 -    ///
   4.465 -    /// Returns the id of the item provided by the container.
   4.466 +    // \brief Returns the id of the item.
   4.467 +    //
   4.468 +    // Returns the id of the item provided by the container.
   4.469      int id(const Item& item) const {
   4.470        return container->id(item);
   4.471      }
   4.472  
   4.473 -    /// \brief Returns the maximum id of the container.
   4.474 -    ///
   4.475 -    /// Returns the maximum id of the container.
   4.476 +    // \brief Returns the maximum id of the container.
   4.477 +    //
   4.478 +    // Returns the maximum id of the container.
   4.479      int maxId() const {
   4.480        return container->maxId(Item());
   4.481      }
   4.482 @@ -353,12 +344,11 @@
   4.483  
   4.484    public:
   4.485  
   4.486 -    /// \brief Notifies all the registed observers about an item added to
   4.487 -    /// the container.
   4.488 -    ///
   4.489 -    /// It notifies all the registed observers about an item added to
   4.490 -    /// the container.
   4.491 -    ///
   4.492 +    // \brief Notifies all the registed observers about an item added to
   4.493 +    // the container.
   4.494 +    //
   4.495 +    // It notifies all the registed observers about an item added to
   4.496 +    // the container.
   4.497      void add(const Item& item) {
   4.498        typename Observers::reverse_iterator it;
   4.499        try {
   4.500 @@ -374,12 +364,11 @@
   4.501        }
   4.502      }
   4.503  
   4.504 -    /// \brief Notifies all the registed observers about more item added to
   4.505 -    /// the container.
   4.506 -    ///
   4.507 -    /// It notifies all the registed observers about more item added to
   4.508 -    /// the container.
   4.509 -    ///
   4.510 +    // \brief Notifies all the registed observers about more item added to
   4.511 +    // the container.
   4.512 +    //
   4.513 +    // It notifies all the registed observers about more item added to
   4.514 +    // the container.
   4.515      void add(const std::vector<Item>& items) {
   4.516        typename Observers::reverse_iterator it;
   4.517        try {
   4.518 @@ -395,12 +384,11 @@
   4.519        }
   4.520      }
   4.521  
   4.522 -    /// \brief Notifies all the registed observers about an item erased from
   4.523 -    /// the container.
   4.524 -    ///
   4.525 -    /// It notifies all the registed observers about an item erased from
   4.526 -    /// the container.
   4.527 -    ///
   4.528 +    // \brief Notifies all the registed observers about an item erased from
   4.529 +    // the container.
   4.530 +    //
   4.531 +    // It notifies all the registed observers about an item erased from
   4.532 +    // the container.
   4.533      void erase(const Item& item) throw() {
   4.534        typename Observers::iterator it = _observers.begin();
   4.535        while (it != _observers.end()) {
   4.536 @@ -415,12 +403,11 @@
   4.537        }
   4.538      }
   4.539  
   4.540 -    /// \brief Notifies all the registed observers about more item erased
   4.541 -    /// from the container.
   4.542 -    ///
   4.543 -    /// It notifies all the registed observers about more item erased from
   4.544 -    /// the container.
   4.545 -    ///
   4.546 +    // \brief Notifies all the registed observers about more item erased
   4.547 +    // from the container.
   4.548 +    //
   4.549 +    // It notifies all the registed observers about more item erased from
   4.550 +    // the container.
   4.551      void erase(const std::vector<Item>& items) {
   4.552        typename Observers::iterator it = _observers.begin();
   4.553        while (it != _observers.end()) {
   4.554 @@ -435,11 +422,11 @@
   4.555        }
   4.556      }
   4.557  
   4.558 -    /// \brief Notifies all the registed observers about the container is
   4.559 -    /// built.
   4.560 -    ///
   4.561 -    /// Notifies all the registed observers about the container is built
   4.562 -    /// from an empty container.
   4.563 +    // \brief Notifies all the registed observers about the container is
   4.564 +    // built.
   4.565 +    //
   4.566 +    // Notifies all the registed observers about the container is built
   4.567 +    // from an empty container.
   4.568      void build() {
   4.569        typename Observers::reverse_iterator it;
   4.570        try {
   4.571 @@ -455,11 +442,11 @@
   4.572        }
   4.573      }
   4.574  
   4.575 -    /// \brief Notifies all the registed observers about all items are
   4.576 -    /// erased.
   4.577 -    ///
   4.578 -    /// Notifies all the registed observers about all items are erased
   4.579 -    /// from the container.
   4.580 +    // \brief Notifies all the registed observers about all items are
   4.581 +    // erased.
   4.582 +    //
   4.583 +    // Notifies all the registed observers about all items are erased
   4.584 +    // from the container.
   4.585      void clear() {
   4.586        typename Observers::iterator it = _observers.begin();
   4.587        while (it != _observers.end()) {
     5.1 --- a/lemon/bits/array_map.h	Thu Oct 09 10:09:44 2008 +0200
     5.2 +++ b/lemon/bits/array_map.h	Thu Oct 09 13:27:35 2008 +0200
     5.3 @@ -26,48 +26,48 @@
     5.4  #include <lemon/concept_check.h>
     5.5  #include <lemon/concepts/maps.h>
     5.6  
     5.7 -/// \ingroup graphbits
     5.8 -/// \file
     5.9 -/// \brief Graph map based on the array storage.
    5.10 +// \ingroup graphbits
    5.11 +// \file
    5.12 +// \brief Graph map based on the array storage.
    5.13  
    5.14  namespace lemon {
    5.15  
    5.16 -  /// \ingroup graphbits
    5.17 -  ///
    5.18 -  /// \brief Graph map based on the array storage.
    5.19 -  ///
    5.20 -  /// The ArrayMap template class is graph map structure what
    5.21 -  /// automatically updates the map when a key is added to or erased from
    5.22 -  /// the map. This map uses the allocators to implement
    5.23 -  /// the container functionality.
    5.24 -  ///
    5.25 -  /// The template parameters are the Graph the current Item type and
    5.26 -  /// the Value type of the map.
    5.27 +  // \ingroup graphbits
    5.28 +  //
    5.29 +  // \brief Graph map based on the array storage.
    5.30 +  //
    5.31 +  // The ArrayMap template class is graph map structure what
    5.32 +  // automatically updates the map when a key is added to or erased from
    5.33 +  // the map. This map uses the allocators to implement
    5.34 +  // the container functionality.
    5.35 +  //
    5.36 +  // The template parameters are the Graph the current Item type and
    5.37 +  // the Value type of the map.
    5.38    template <typename _Graph, typename _Item, typename _Value>
    5.39    class ArrayMap
    5.40      : public ItemSetTraits<_Graph, _Item>::ItemNotifier::ObserverBase {
    5.41    public:
    5.42 -    /// The graph type of the maps.
    5.43 +    // The graph type of the maps.
    5.44      typedef _Graph Graph;
    5.45 -    /// The item type of the map.
    5.46 +    // The item type of the map.
    5.47      typedef _Item Item;
    5.48 -    /// The reference map tag.
    5.49 +    // The reference map tag.
    5.50      typedef True ReferenceMapTag;
    5.51  
    5.52 -    /// The key type of the maps.
    5.53 +    // The key type of the maps.
    5.54      typedef _Item Key;
    5.55 -    /// The value type of the map.
    5.56 +    // The value type of the map.
    5.57      typedef _Value Value;
    5.58  
    5.59 -    /// The const reference type of the map.
    5.60 +    // The const reference type of the map.
    5.61      typedef const _Value& ConstReference;
    5.62 -    /// The reference type of the map.
    5.63 +    // The reference type of the map.
    5.64      typedef _Value& Reference;
    5.65  
    5.66 -    /// The notifier type.
    5.67 +    // The notifier type.
    5.68      typedef typename ItemSetTraits<_Graph, _Item>::ItemNotifier Notifier;
    5.69  
    5.70 -    /// The MapBase of the Map which imlements the core regisitry function.
    5.71 +    // The MapBase of the Map which imlements the core regisitry function.
    5.72      typedef typename Notifier::ObserverBase Parent;
    5.73  
    5.74    private:
    5.75 @@ -75,9 +75,9 @@
    5.76  
    5.77    public:
    5.78  
    5.79 -    /// \brief Graph initialized map constructor.
    5.80 -    ///
    5.81 -    /// Graph initialized map constructor.
    5.82 +    // \brief Graph initialized map constructor.
    5.83 +    //
    5.84 +    // Graph initialized map constructor.
    5.85      explicit ArrayMap(const Graph& graph) {
    5.86        Parent::attach(graph.notifier(Item()));
    5.87        allocate_memory();
    5.88 @@ -89,9 +89,9 @@
    5.89        }
    5.90      }
    5.91  
    5.92 -    /// \brief Constructor to use default value to initialize the map.
    5.93 -    ///
    5.94 -    /// It constructs a map and initialize all of the the map.
    5.95 +    // \brief Constructor to use default value to initialize the map.
    5.96 +    //
    5.97 +    // It constructs a map and initialize all of the the map.
    5.98      ArrayMap(const Graph& graph, const Value& value) {
    5.99        Parent::attach(graph.notifier(Item()));
   5.100        allocate_memory();
   5.101 @@ -104,9 +104,9 @@
   5.102      }
   5.103  
   5.104    private:
   5.105 -    /// \brief Constructor to copy a map of the same map type.
   5.106 -    ///
   5.107 -    /// Constructor to copy a map of the same map type.
   5.108 +    // \brief Constructor to copy a map of the same map type.
   5.109 +    //
   5.110 +    // Constructor to copy a map of the same map type.
   5.111      ArrayMap(const ArrayMap& copy) : Parent() {
   5.112        if (copy.attached()) {
   5.113          attach(*copy.notifier());
   5.114 @@ -122,24 +122,24 @@
   5.115        }
   5.116      }
   5.117  
   5.118 -    /// \brief Assign operator.
   5.119 -    ///
   5.120 -    /// This operator assigns for each item in the map the
   5.121 -    /// value mapped to the same item in the copied map.
   5.122 -    /// The parameter map should be indiced with the same
   5.123 -    /// itemset because this assign operator does not change
   5.124 -    /// the container of the map.
   5.125 +    // \brief Assign operator.
   5.126 +    //
   5.127 +    // This operator assigns for each item in the map the
   5.128 +    // value mapped to the same item in the copied map.
   5.129 +    // The parameter map should be indiced with the same
   5.130 +    // itemset because this assign operator does not change
   5.131 +    // the container of the map.
   5.132      ArrayMap& operator=(const ArrayMap& cmap) {
   5.133        return operator=<ArrayMap>(cmap);
   5.134      }
   5.135  
   5.136  
   5.137 -    /// \brief Template assign operator.
   5.138 -    ///
   5.139 -    /// The given parameter should be conform to the ReadMap
   5.140 -    /// concecpt and could be indiced by the current item set of
   5.141 -    /// the NodeMap. In this case the value for each item
   5.142 -    /// is assigned by the value of the given ReadMap.
   5.143 +    // \brief Template assign operator.
   5.144 +    //
   5.145 +    // The given parameter should be conform to the ReadMap
   5.146 +    // concecpt and could be indiced by the current item set of
   5.147 +    // the NodeMap. In this case the value for each item
   5.148 +    // is assigned by the value of the given ReadMap.
   5.149      template <typename CMap>
   5.150      ArrayMap& operator=(const CMap& cmap) {
   5.151        checkConcept<concepts::ReadMap<Key, _Value>, CMap>();
   5.152 @@ -152,9 +152,9 @@
   5.153      }
   5.154  
   5.155    public:
   5.156 -    /// \brief The destructor of the map.
   5.157 -    ///
   5.158 -    /// The destructor of the map.
   5.159 +    // \brief The destructor of the map.
   5.160 +    //
   5.161 +    // The destructor of the map.
   5.162      virtual ~ArrayMap() {
   5.163        if (attached()) {
   5.164          clear();
   5.165 @@ -170,38 +170,38 @@
   5.166  
   5.167    public:
   5.168  
   5.169 -    /// \brief The subscript operator.
   5.170 -    ///
   5.171 -    /// The subscript operator. The map can be subscripted by the
   5.172 -    /// actual keys of the graph.
   5.173 +    // \brief The subscript operator.
   5.174 +    //
   5.175 +    // The subscript operator. The map can be subscripted by the
   5.176 +    // actual keys of the graph.
   5.177      Value& operator[](const Key& key) {
   5.178        int id = Parent::notifier()->id(key);
   5.179        return values[id];
   5.180      }
   5.181  
   5.182 -    /// \brief The const subscript operator.
   5.183 -    ///
   5.184 -    /// The const subscript operator. The map can be subscripted by the
   5.185 -    /// actual keys of the graph.
   5.186 +    // \brief The const subscript operator.
   5.187 +    //
   5.188 +    // The const subscript operator. The map can be subscripted by the
   5.189 +    // actual keys of the graph.
   5.190      const Value& operator[](const Key& key) const {
   5.191        int id = Parent::notifier()->id(key);
   5.192        return values[id];
   5.193      }
   5.194  
   5.195 -    /// \brief Setter function of the map.
   5.196 -    ///
   5.197 -    /// Setter function of the map. Equivalent with map[key] = val.
   5.198 -    /// This is a compatibility feature with the not dereferable maps.
   5.199 +    // \brief Setter function of the map.
   5.200 +    //
   5.201 +    // Setter function of the map. Equivalent with map[key] = val.
   5.202 +    // This is a compatibility feature with the not dereferable maps.
   5.203      void set(const Key& key, const Value& val) {
   5.204        (*this)[key] = val;
   5.205      }
   5.206  
   5.207    protected:
   5.208  
   5.209 -    /// \brief Adds a new key to the map.
   5.210 -    ///
   5.211 -    /// It adds a new key to the map. It called by the observer notifier
   5.212 -    /// and it overrides the add() member function of the observer base.
   5.213 +    // \brief Adds a new key to the map.
   5.214 +    //
   5.215 +    // It adds a new key to the map. It called by the observer notifier
   5.216 +    // and it overrides the add() member function of the observer base.
   5.217      virtual void add(const Key& key) {
   5.218        Notifier* nf = Parent::notifier();
   5.219        int id = nf->id(key);
   5.220 @@ -226,10 +226,10 @@
   5.221        allocator.construct(&(values[id]), Value());
   5.222      }
   5.223  
   5.224 -    /// \brief Adds more new keys to the map.
   5.225 -    ///
   5.226 -    /// It adds more new keys to the map. It called by the observer notifier
   5.227 -    /// and it overrides the add() member function of the observer base.
   5.228 +    // \brief Adds more new keys to the map.
   5.229 +    //
   5.230 +    // It adds more new keys to the map. It called by the observer notifier
   5.231 +    // and it overrides the add() member function of the observer base.
   5.232      virtual void add(const std::vector<Key>& keys) {
   5.233        Notifier* nf = Parent::notifier();
   5.234        int max_id = -1;
   5.235 @@ -270,19 +270,19 @@
   5.236        }
   5.237      }
   5.238  
   5.239 -    /// \brief Erase a key from the map.
   5.240 -    ///
   5.241 -    /// Erase a key from the map. It called by the observer notifier
   5.242 -    /// and it overrides the erase() member function of the observer base.
   5.243 +    // \brief Erase a key from the map.
   5.244 +    //
   5.245 +    // Erase a key from the map. It called by the observer notifier
   5.246 +    // and it overrides the erase() member function of the observer base.
   5.247      virtual void erase(const Key& key) {
   5.248        int id = Parent::notifier()->id(key);
   5.249        allocator.destroy(&(values[id]));
   5.250      }
   5.251  
   5.252 -    /// \brief Erase more keys from the map.
   5.253 -    ///
   5.254 -    /// Erase more keys from the map. It called by the observer notifier
   5.255 -    /// and it overrides the erase() member function of the observer base.
   5.256 +    // \brief Erase more keys from the map.
   5.257 +    //
   5.258 +    // Erase more keys from the map. It called by the observer notifier
   5.259 +    // and it overrides the erase() member function of the observer base.
   5.260      virtual void erase(const std::vector<Key>& keys) {
   5.261        for (int i = 0; i < int(keys.size()); ++i) {
   5.262          int id = Parent::notifier()->id(keys[i]);
   5.263 @@ -290,10 +290,10 @@
   5.264        }
   5.265      }
   5.266  
   5.267 -    /// \brief Buildes the map.
   5.268 -    ///
   5.269 -    /// It buildes the map. It called by the observer notifier
   5.270 -    /// and it overrides the build() member function of the observer base.
   5.271 +    // \brief Buildes the map.
   5.272 +    //
   5.273 +    // It buildes the map. It called by the observer notifier
   5.274 +    // and it overrides the build() member function of the observer base.
   5.275      virtual void build() {
   5.276        Notifier* nf = Parent::notifier();
   5.277        allocate_memory();
   5.278 @@ -304,10 +304,10 @@
   5.279        }
   5.280      }
   5.281  
   5.282 -    /// \brief Clear the map.
   5.283 -    ///
   5.284 -    /// It erase all items from the map. It called by the observer notifier
   5.285 -    /// and it overrides the clear() member function of the observer base.
   5.286 +    // \brief Clear the map.
   5.287 +    //
   5.288 +    // It erase all items from the map. It called by the observer notifier
   5.289 +    // and it overrides the clear() member function of the observer base.
   5.290      virtual void clear() {
   5.291        Notifier* nf = Parent::notifier();
   5.292        if (capacity != 0) {
     6.1 --- a/lemon/bits/base_extender.h	Thu Oct 09 10:09:44 2008 +0200
     6.2 +++ b/lemon/bits/base_extender.h	Thu Oct 09 13:27:35 2008 +0200
     6.3 @@ -28,14 +28,14 @@
     6.4  #include <lemon/concept_check.h>
     6.5  #include <lemon/concepts/maps.h>
     6.6  
     6.7 -///\ingroup digraphbits
     6.8 -///\file
     6.9 -///\brief Extenders for the digraph types
    6.10 +//\ingroup digraphbits
    6.11 +//\file
    6.12 +//\brief Extenders for the digraph types
    6.13  namespace lemon {
    6.14  
    6.15 -  /// \ingroup digraphbits
    6.16 -  ///
    6.17 -  /// \brief BaseDigraph to BaseGraph extender
    6.18 +  // \ingroup digraphbits
    6.19 +  //
    6.20 +  // \brief BaseDigraph to BaseGraph extender
    6.21    template <typename Base>
    6.22    class UndirDigraphExtender : public Base {
    6.23  
    6.24 @@ -74,37 +74,37 @@
    6.25        }
    6.26      };
    6.27  
    6.28 -    /// First node of the edge
    6.29 +    // First node of the edge
    6.30      Node u(const Edge &e) const {
    6.31        return Parent::source(e);
    6.32      }
    6.33  
    6.34 -    /// Source of the given arc
    6.35 +    // Source of the given arc
    6.36      Node source(const Arc &e) const {
    6.37        return e.forward ? Parent::source(e) : Parent::target(e);
    6.38      }
    6.39  
    6.40 -    /// Second node of the edge
    6.41 +    // Second node of the edge
    6.42      Node v(const Edge &e) const {
    6.43        return Parent::target(e);
    6.44      }
    6.45  
    6.46 -    /// Target of the given arc
    6.47 +    // Target of the given arc
    6.48      Node target(const Arc &e) const {
    6.49        return e.forward ? Parent::target(e) : Parent::source(e);
    6.50      }
    6.51  
    6.52 -    /// \brief Directed arc from an edge.
    6.53 -    ///
    6.54 -    /// Returns a directed arc corresponding to the specified edge.
    6.55 -    /// If the given bool is true, the first node of the given edge and
    6.56 -    /// the source node of the returned arc are the same.
    6.57 +    // \brief Directed arc from an edge.
    6.58 +    //
    6.59 +    // Returns a directed arc corresponding to the specified edge.
    6.60 +    // If the given bool is true, the first node of the given edge and
    6.61 +    // the source node of the returned arc are the same.
    6.62      static Arc direct(const Edge &e, bool d) {
    6.63        return Arc(e, d);
    6.64      }
    6.65  
    6.66 -    /// Returns whether the given directed arc has the same orientation
    6.67 -    /// as the corresponding edge.
    6.68 +    // Returns whether the given directed arc has the same orientation
    6.69 +    // as the corresponding edge.
    6.70      static bool direction(const Arc &a) { return a.forward; }
    6.71  
    6.72      using Parent::first;
     7.1 --- a/lemon/bits/bezier.h	Thu Oct 09 10:09:44 2008 +0200
     7.2 +++ b/lemon/bits/bezier.h	Thu Oct 09 13:27:35 2008 +0200
     7.3 @@ -19,11 +19,11 @@
     7.4  #ifndef LEMON_BEZIER_H
     7.5  #define LEMON_BEZIER_H
     7.6  
     7.7 -///\ingroup misc
     7.8 -///\file
     7.9 -///\brief Classes to compute with Bezier curves.
    7.10 -///
    7.11 -///Up to now this file is used internally by \ref graph_to_eps.h
    7.12 +//\ingroup misc
    7.13 +//\file
    7.14 +//\brief Classes to compute with Bezier curves.
    7.15 +//
    7.16 +//Up to now this file is used internally by \ref graph_to_eps.h
    7.17  
    7.18  #include<lemon/dim2.h>
    7.19  
     8.1 --- a/lemon/bits/default_map.h	Thu Oct 09 10:09:44 2008 +0200
     8.2 +++ b/lemon/bits/default_map.h	Thu Oct 09 13:27:35 2008 +0200
     8.3 @@ -19,14 +19,13 @@
     8.4  #ifndef LEMON_BITS_DEFAULT_MAP_H
     8.5  #define LEMON_BITS_DEFAULT_MAP_H
     8.6  
     8.7 -
     8.8  #include <lemon/bits/array_map.h>
     8.9  #include <lemon/bits/vector_map.h>
    8.10  //#include <lemon/bits/debug_map.h>
    8.11  
    8.12 -///\ingroup graphbits
    8.13 -///\file
    8.14 -///\brief Graph maps that construct and destruct their elements dynamically.
    8.15 +//\ingroup graphbits
    8.16 +//\file
    8.17 +//\brief Graph maps that construct and destruct their elements dynamically.
    8.18  
    8.19  namespace lemon {
    8.20  
    8.21 @@ -149,7 +148,7 @@
    8.22  
    8.23  // #endif
    8.24  
    8.25 -  /// DefaultMap class
    8.26 +  // DefaultMap class
    8.27    template <typename _Graph, typename _Item, typename _Value>
    8.28    class DefaultMap
    8.29      : public DefaultMapSelector<_Graph, _Item, _Value>::Map {
     9.1 --- a/lemon/bits/enable_if.h	Thu Oct 09 10:09:44 2008 +0200
     9.2 +++ b/lemon/bits/enable_if.h	Thu Oct 09 13:27:35 2008 +0200
     9.3 @@ -35,29 +35,29 @@
     9.4  #ifndef LEMON_BITS_ENABLE_IF_H
     9.5  #define LEMON_BITS_ENABLE_IF_H
     9.6  
     9.7 -///\file
     9.8 -///\brief Miscellaneous basic utilities
     9.9 +//\file
    9.10 +//\brief Miscellaneous basic utilities
    9.11  
    9.12  namespace lemon
    9.13  {
    9.14  
    9.15 -  /// Basic type for defining "tags". A "YES" condition for \c enable_if.
    9.16 +  // Basic type for defining "tags". A "YES" condition for \c enable_if.
    9.17  
    9.18 -  /// Basic type for defining "tags". A "YES" condition for \c enable_if.
    9.19 -  ///
    9.20 -  ///\sa False
    9.21 +  // Basic type for defining "tags". A "YES" condition for \c enable_if.
    9.22 +  //
    9.23 +  //\sa False
    9.24    struct True {
    9.25 -    ///\e
    9.26 +    //\e
    9.27      static const bool value = true;
    9.28    };
    9.29  
    9.30 -  /// Basic type for defining "tags". A "NO" condition for \c enable_if.
    9.31 +  // Basic type for defining "tags". A "NO" condition for \c enable_if.
    9.32  
    9.33 -  /// Basic type for defining "tags". A "NO" condition for \c enable_if.
    9.34 -  ///
    9.35 -  ///\sa True
    9.36 +  // Basic type for defining "tags". A "NO" condition for \c enable_if.
    9.37 +  //
    9.38 +  //\sa True
    9.39    struct False {
    9.40 -    ///\e
    9.41 +    //\e
    9.42      static const bool value = false;
    9.43    };
    9.44  
    10.1 --- a/lemon/bits/graph_extender.h	Thu Oct 09 10:09:44 2008 +0200
    10.2 +++ b/lemon/bits/graph_extender.h	Thu Oct 09 13:27:35 2008 +0200
    10.3 @@ -27,14 +27,14 @@
    10.4  #include <lemon/concept_check.h>
    10.5  #include <lemon/concepts/maps.h>
    10.6  
    10.7 -///\ingroup graphbits
    10.8 -///\file
    10.9 -///\brief Extenders for the digraph types
   10.10 +//\ingroup graphbits
   10.11 +//\file
   10.12 +//\brief Extenders for the digraph types
   10.13  namespace lemon {
   10.14  
   10.15 -  /// \ingroup graphbits
   10.16 -  ///
   10.17 -  /// \brief Extender for the Digraphs
   10.18 +  // \ingroup graphbits
   10.19 +  //
   10.20 +  // \brief Extender for the Digraphs
   10.21    template <typename Base>
   10.22    class DigraphExtender : public Base {
   10.23    public:
   10.24 @@ -186,30 +186,30 @@
   10.25  
   10.26      };
   10.27  
   10.28 -    /// \brief Base node of the iterator
   10.29 -    ///
   10.30 -    /// Returns the base node (i.e. the source in this case) of the iterator
   10.31 +    // \brief Base node of the iterator
   10.32 +    //
   10.33 +    // Returns the base node (i.e. the source in this case) of the iterator
   10.34      Node baseNode(const OutArcIt &arc) const {
   10.35        return Parent::source(arc);
   10.36      }
   10.37 -    /// \brief Running node of the iterator
   10.38 -    ///
   10.39 -    /// Returns the running node (i.e. the target in this case) of the
   10.40 -    /// iterator
   10.41 +    // \brief Running node of the iterator
   10.42 +    //
   10.43 +    // Returns the running node (i.e. the target in this case) of the
   10.44 +    // iterator
   10.45      Node runningNode(const OutArcIt &arc) const {
   10.46        return Parent::target(arc);
   10.47      }
   10.48  
   10.49 -    /// \brief Base node of the iterator
   10.50 -    ///
   10.51 -    /// Returns the base node (i.e. the target in this case) of the iterator
   10.52 +    // \brief Base node of the iterator
   10.53 +    //
   10.54 +    // Returns the base node (i.e. the target in this case) of the iterator
   10.55      Node baseNode(const InArcIt &arc) const {
   10.56        return Parent::target(arc);
   10.57      }
   10.58 -    /// \brief Running node of the iterator
   10.59 -    ///
   10.60 -    /// Returns the running node (i.e. the source in this case) of the
   10.61 -    /// iterator
   10.62 +    // \brief Running node of the iterator
   10.63 +    //
   10.64 +    // Returns the running node (i.e. the source in this case) of the
   10.65 +    // iterator
   10.66      Node runningNode(const InArcIt &arc) const {
   10.67        return Parent::source(arc);
   10.68      }
   10.69 @@ -325,9 +325,9 @@
   10.70      }
   10.71    };
   10.72  
   10.73 -  /// \ingroup _graphbits
   10.74 -  ///
   10.75 -  /// \brief Extender for the Graphs
   10.76 +  // \ingroup _graphbits
   10.77 +  //
   10.78 +  // \brief Extender for the Graphs
   10.79    template <typename Base>
   10.80    class GraphExtender : public Base {
   10.81    public:
   10.82 @@ -555,43 +555,43 @@
   10.83        }
   10.84      };
   10.85  
   10.86 -    /// \brief Base node of the iterator
   10.87 -    ///
   10.88 -    /// Returns the base node (ie. the source in this case) of the iterator
   10.89 +    // \brief Base node of the iterator
   10.90 +    //
   10.91 +    // Returns the base node (ie. the source in this case) of the iterator
   10.92      Node baseNode(const OutArcIt &arc) const {
   10.93        return Parent::source(static_cast<const Arc&>(arc));
   10.94      }
   10.95 -    /// \brief Running node of the iterator
   10.96 -    ///
   10.97 -    /// Returns the running node (ie. the target in this case) of the
   10.98 -    /// iterator
   10.99 +    // \brief Running node of the iterator
  10.100 +    //
  10.101 +    // Returns the running node (ie. the target in this case) of the
  10.102 +    // iterator
  10.103      Node runningNode(const OutArcIt &arc) const {
  10.104        return Parent::target(static_cast<const Arc&>(arc));
  10.105      }
  10.106  
  10.107 -    /// \brief Base node of the iterator
  10.108 -    ///
  10.109 -    /// Returns the base node (ie. the target in this case) of the iterator
  10.110 +    // \brief Base node of the iterator
  10.111 +    //
  10.112 +    // Returns the base node (ie. the target in this case) of the iterator
  10.113      Node baseNode(const InArcIt &arc) const {
  10.114        return Parent::target(static_cast<const Arc&>(arc));
  10.115      }
  10.116 -    /// \brief Running node of the iterator
  10.117 -    ///
  10.118 -    /// Returns the running node (ie. the source in this case) of the
  10.119 -    /// iterator
  10.120 +    // \brief Running node of the iterator
  10.121 +    //
  10.122 +    // Returns the running node (ie. the source in this case) of the
  10.123 +    // iterator
  10.124      Node runningNode(const InArcIt &arc) const {
  10.125        return Parent::source(static_cast<const Arc&>(arc));
  10.126      }
  10.127  
  10.128 -    /// Base node of the iterator
  10.129 -    ///
  10.130 -    /// Returns the base node of the iterator
  10.131 +    // Base node of the iterator
  10.132 +    //
  10.133 +    // Returns the base node of the iterator
  10.134      Node baseNode(const IncEdgeIt &edge) const {
  10.135        return edge._direction ? u(edge) : v(edge);
  10.136      }
  10.137 -    /// Running node of the iterator
  10.138 -    ///
  10.139 -    /// Returns the running node of the iterator
  10.140 +    // Running node of the iterator
  10.141 +    //
  10.142 +    // Returns the running node of the iterator
  10.143      Node runningNode(const IncEdgeIt &edge) const {
  10.144        return edge._direction ? v(edge) : u(edge);
  10.145      }
    11.1 --- a/lemon/bits/map_extender.h	Thu Oct 09 10:09:44 2008 +0200
    11.2 +++ b/lemon/bits/map_extender.h	Thu Oct 09 13:27:35 2008 +0200
    11.3 @@ -26,14 +26,14 @@
    11.4  #include <lemon/concept_check.h>
    11.5  #include <lemon/concepts/maps.h>
    11.6  
    11.7 -///\file
    11.8 -///\brief Extenders for iterable maps.
    11.9 +//\file
   11.10 +//\brief Extenders for iterable maps.
   11.11  
   11.12  namespace lemon {
   11.13  
   11.14 -  /// \ingroup graphbits
   11.15 -  ///
   11.16 -  /// \brief Extender for maps
   11.17 +  // \ingroup graphbits
   11.18 +  //
   11.19 +  // \brief Extender for maps
   11.20    template <typename _Map>
   11.21    class MapExtender : public _Map {
   11.22    public:
   11.23 @@ -171,9 +171,9 @@
   11.24      };
   11.25    };
   11.26  
   11.27 -  /// \ingroup graphbits
   11.28 -  ///
   11.29 -  /// \brief Extender for maps which use a subset of the items.
   11.30 +  // \ingroup graphbits
   11.31 +  //
   11.32 +  // \brief Extender for maps which use a subset of the items.
   11.33    template <typename _Graph, typename _Map>
   11.34    class SubMapExtender : public _Map {
   11.35    public:
    12.1 --- a/lemon/bits/traits.h	Thu Oct 09 10:09:44 2008 +0200
    12.2 +++ b/lemon/bits/traits.h	Thu Oct 09 13:27:35 2008 +0200
    12.3 @@ -19,9 +19,9 @@
    12.4  #ifndef LEMON_BITS_TRAITS_H
    12.5  #define LEMON_BITS_TRAITS_H
    12.6  
    12.7 -///\file
    12.8 -///\brief Traits for graphs and maps
    12.9 -///
   12.10 +//\file
   12.11 +//\brief Traits for graphs and maps
   12.12 +//
   12.13  
   12.14  #include <lemon/bits/enable_if.h>
   12.15  
    13.1 --- a/lemon/bits/vector_map.h	Thu Oct 09 10:09:44 2008 +0200
    13.2 +++ b/lemon/bits/vector_map.h	Thu Oct 09 13:27:35 2008 +0200
    13.3 @@ -28,81 +28,81 @@
    13.4  #include <lemon/concept_check.h>
    13.5  #include <lemon/concepts/maps.h>
    13.6  
    13.7 -///\ingroup graphbits
    13.8 -///
    13.9 -///\file
   13.10 -///\brief Vector based graph maps.
   13.11 +//\ingroup graphbits
   13.12 +//
   13.13 +//\file
   13.14 +//\brief Vector based graph maps.
   13.15  namespace lemon {
   13.16  
   13.17 -  /// \ingroup graphbits
   13.18 -  ///
   13.19 -  /// \brief Graph map based on the std::vector storage.
   13.20 -  ///
   13.21 -  /// The VectorMap template class is graph map structure what
   13.22 -  /// automatically updates the map when a key is added to or erased from
   13.23 -  /// the map. This map type uses the std::vector to store the values.
   13.24 -  ///
   13.25 -  /// \tparam _Graph The graph this map is attached to.
   13.26 -  /// \tparam _Item The item type of the graph items.
   13.27 -  /// \tparam _Value The value type of the map.
   13.28 +  // \ingroup graphbits
   13.29 +  //
   13.30 +  // \brief Graph map based on the std::vector storage.
   13.31 +  //
   13.32 +  // The VectorMap template class is graph map structure what
   13.33 +  // automatically updates the map when a key is added to or erased from
   13.34 +  // the map. This map type uses the std::vector to store the values.
   13.35 +  //
   13.36 +  // \tparam _Graph The graph this map is attached to.
   13.37 +  // \tparam _Item The item type of the graph items.
   13.38 +  // \tparam _Value The value type of the map.
   13.39    template <typename _Graph, typename _Item, typename _Value>
   13.40    class VectorMap
   13.41      : public ItemSetTraits<_Graph, _Item>::ItemNotifier::ObserverBase {
   13.42    private:
   13.43  
   13.44 -    /// The container type of the map.
   13.45 +    // The container type of the map.
   13.46      typedef std::vector<_Value> Container;
   13.47  
   13.48    public:
   13.49  
   13.50 -    /// The graph type of the map.
   13.51 +    // The graph type of the map.
   13.52      typedef _Graph Graph;
   13.53 -    /// The item type of the map.
   13.54 +    // The item type of the map.
   13.55      typedef _Item Item;
   13.56 -    /// The reference map tag.
   13.57 +    // The reference map tag.
   13.58      typedef True ReferenceMapTag;
   13.59  
   13.60 -    /// The key type of the map.
   13.61 +    // The key type of the map.
   13.62      typedef _Item Key;
   13.63 -    /// The value type of the map.
   13.64 +    // The value type of the map.
   13.65      typedef _Value Value;
   13.66  
   13.67 -    /// The notifier type.
   13.68 +    // The notifier type.
   13.69      typedef typename ItemSetTraits<_Graph, _Item>::ItemNotifier Notifier;
   13.70  
   13.71 -    /// The map type.
   13.72 +    // The map type.
   13.73      typedef VectorMap Map;
   13.74 -    /// The base class of the map.
   13.75 +    // The base class of the map.
   13.76      typedef typename Notifier::ObserverBase Parent;
   13.77  
   13.78 -    /// The reference type of the map;
   13.79 +    // The reference type of the map;
   13.80      typedef typename Container::reference Reference;
   13.81 -    /// The const reference type of the map;
   13.82 +    // The const reference type of the map;
   13.83      typedef typename Container::const_reference ConstReference;
   13.84  
   13.85  
   13.86 -    /// \brief Constructor to attach the new map into the notifier.
   13.87 -    ///
   13.88 -    /// It constructs a map and attachs it into the notifier.
   13.89 -    /// It adds all the items of the graph to the map.
   13.90 +    // \brief Constructor to attach the new map into the notifier.
   13.91 +    //
   13.92 +    // It constructs a map and attachs it into the notifier.
   13.93 +    // It adds all the items of the graph to the map.
   13.94      VectorMap(const Graph& graph) {
   13.95        Parent::attach(graph.notifier(Item()));
   13.96        container.resize(Parent::notifier()->maxId() + 1);
   13.97      }
   13.98  
   13.99 -    /// \brief Constructor uses given value to initialize the map.
  13.100 -    ///
  13.101 -    /// It constructs a map uses a given value to initialize the map.
  13.102 -    /// It adds all the items of the graph to the map.
  13.103 +    // \brief Constructor uses given value to initialize the map.
  13.104 +    //
  13.105 +    // It constructs a map uses a given value to initialize the map.
  13.106 +    // It adds all the items of the graph to the map.
  13.107      VectorMap(const Graph& graph, const Value& value) {
  13.108        Parent::attach(graph.notifier(Item()));
  13.109        container.resize(Parent::notifier()->maxId() + 1, value);
  13.110      }
  13.111  
  13.112    private:
  13.113 -    /// \brief Copy constructor
  13.114 -    ///
  13.115 -    /// Copy constructor.
  13.116 +    // \brief Copy constructor
  13.117 +    //
  13.118 +    // Copy constructor.
  13.119      VectorMap(const VectorMap& _copy) : Parent() {
  13.120        if (_copy.attached()) {
  13.121          Parent::attach(*_copy.notifier());
  13.122 @@ -110,24 +110,24 @@
  13.123        }
  13.124      }
  13.125  
  13.126 -    /// \brief Assign operator.
  13.127 -    ///
  13.128 -    /// This operator assigns for each item in the map the
  13.129 -    /// value mapped to the same item in the copied map.
  13.130 -    /// The parameter map should be indiced with the same
  13.131 -    /// itemset because this assign operator does not change
  13.132 -    /// the container of the map.
  13.133 +    // \brief Assign operator.
  13.134 +    //
  13.135 +    // This operator assigns for each item in the map the
  13.136 +    // value mapped to the same item in the copied map.
  13.137 +    // The parameter map should be indiced with the same
  13.138 +    // itemset because this assign operator does not change
  13.139 +    // the container of the map.
  13.140      VectorMap& operator=(const VectorMap& cmap) {
  13.141        return operator=<VectorMap>(cmap);
  13.142      }
  13.143  
  13.144  
  13.145 -    /// \brief Template assign operator.
  13.146 -    ///
  13.147 -    /// The given parameter should be conform to the ReadMap
  13.148 -    /// concecpt and could be indiced by the current item set of
  13.149 -    /// the NodeMap. In this case the value for each item
  13.150 -    /// is assigned by the value of the given ReadMap.
  13.151 +    // \brief Template assign operator.
  13.152 +    //
  13.153 +    // The given parameter should be conform to the ReadMap
  13.154 +    // concecpt and could be indiced by the current item set of
  13.155 +    // the NodeMap. In this case the value for each item
  13.156 +    // is assigned by the value of the given ReadMap.
  13.157      template <typename CMap>
  13.158      VectorMap& operator=(const CMap& cmap) {
  13.159        checkConcept<concepts::ReadMap<Key, _Value>, CMap>();
  13.160 @@ -141,36 +141,36 @@
  13.161  
  13.162    public:
  13.163  
  13.164 -    /// \brief The subcript operator.
  13.165 -    ///
  13.166 -    /// The subscript operator. The map can be subscripted by the
  13.167 -    /// actual items of the graph.
  13.168 +    // \brief The subcript operator.
  13.169 +    //
  13.170 +    // The subscript operator. The map can be subscripted by the
  13.171 +    // actual items of the graph.
  13.172      Reference operator[](const Key& key) {
  13.173        return container[Parent::notifier()->id(key)];
  13.174      }
  13.175  
  13.176 -    /// \brief The const subcript operator.
  13.177 -    ///
  13.178 -    /// The const subscript operator. The map can be subscripted by the
  13.179 -    /// actual items of the graph.
  13.180 +    // \brief The const subcript operator.
  13.181 +    //
  13.182 +    // The const subscript operator. The map can be subscripted by the
  13.183 +    // actual items of the graph.
  13.184      ConstReference operator[](const Key& key) const {
  13.185        return container[Parent::notifier()->id(key)];
  13.186      }
  13.187  
  13.188  
  13.189 -    /// \brief The setter function of the map.
  13.190 -    ///
  13.191 -    /// It the same as operator[](key) = value expression.
  13.192 +    // \brief The setter function of the map.
  13.193 +    //
  13.194 +    // It the same as operator[](key) = value expression.
  13.195      void set(const Key& key, const Value& value) {
  13.196        (*this)[key] = value;
  13.197      }
  13.198  
  13.199    protected:
  13.200  
  13.201 -    /// \brief Adds a new key to the map.
  13.202 -    ///
  13.203 -    /// It adds a new key to the map. It called by the observer notifier
  13.204 -    /// and it overrides the add() member function of the observer base.
  13.205 +    // \brief Adds a new key to the map.
  13.206 +    //
  13.207 +    // It adds a new key to the map. It called by the observer notifier
  13.208 +    // and it overrides the add() member function of the observer base.
  13.209      virtual void add(const Key& key) {
  13.210        int id = Parent::notifier()->id(key);
  13.211        if (id >= int(container.size())) {
  13.212 @@ -178,10 +178,10 @@
  13.213        }
  13.214      }
  13.215  
  13.216 -    /// \brief Adds more new keys to the map.
  13.217 -    ///
  13.218 -    /// It adds more new keys to the map. It called by the observer notifier
  13.219 -    /// and it overrides the add() member function of the observer base.
  13.220 +    // \brief Adds more new keys to the map.
  13.221 +    //
  13.222 +    // It adds more new keys to the map. It called by the observer notifier
  13.223 +    // and it overrides the add() member function of the observer base.
  13.224      virtual void add(const std::vector<Key>& keys) {
  13.225        int max = container.size() - 1;
  13.226        for (int i = 0; i < int(keys.size()); ++i) {
  13.227 @@ -193,38 +193,38 @@
  13.228        container.resize(max + 1);
  13.229      }
  13.230  
  13.231 -    /// \brief Erase a key from the map.
  13.232 -    ///
  13.233 -    /// Erase a key from the map. It called by the observer notifier
  13.234 -    /// and it overrides the erase() member function of the observer base.
  13.235 +    // \brief Erase a key from the map.
  13.236 +    //
  13.237 +    // Erase a key from the map. It called by the observer notifier
  13.238 +    // and it overrides the erase() member function of the observer base.
  13.239      virtual void erase(const Key& key) {
  13.240        container[Parent::notifier()->id(key)] = Value();
  13.241      }
  13.242  
  13.243 -    /// \brief Erase more keys from the map.
  13.244 -    ///
  13.245 -    /// Erase more keys from the map. It called by the observer notifier
  13.246 -    /// and it overrides the erase() member function of the observer base.
  13.247 +    // \brief Erase more keys from the map.
  13.248 +    //
  13.249 +    // Erase more keys from the map. It called by the observer notifier
  13.250 +    // and it overrides the erase() member function of the observer base.
  13.251      virtual void erase(const std::vector<Key>& keys) {
  13.252        for (int i = 0; i < int(keys.size()); ++i) {
  13.253          container[Parent::notifier()->id(keys[i])] = Value();
  13.254        }
  13.255      }
  13.256  
  13.257 -    /// \brief Buildes the map.
  13.258 -    ///
  13.259 -    /// It buildes the map. It called by the observer notifier
  13.260 -    /// and it overrides the build() member function of the observer base.
  13.261 +    // \brief Buildes the map.
  13.262 +    //
  13.263 +    // It buildes the map. It called by the observer notifier
  13.264 +    // and it overrides the build() member function of the observer base.
  13.265      virtual void build() {
  13.266        int size = Parent::notifier()->maxId() + 1;
  13.267        container.reserve(size);
  13.268        container.resize(size);
  13.269      }
  13.270  
  13.271 -    /// \brief Clear the map.
  13.272 -    ///
  13.273 -    /// It erase all items from the map. It called by the observer notifier
  13.274 -    /// and it overrides the clear() member function of the observer base.
  13.275 +    // \brief Clear the map.
  13.276 +    //
  13.277 +    // It erase all items from the map. It called by the observer notifier
  13.278 +    // and it overrides the clear() member function of the observer base.
  13.279      virtual void clear() {
  13.280        container.clear();
  13.281      }
    14.1 --- a/lemon/concepts/maps.h	Thu Oct 09 10:09:44 2008 +0200
    14.2 +++ b/lemon/concepts/maps.h	Thu Oct 09 13:27:35 2008 +0200
    14.3 @@ -22,7 +22,7 @@
    14.4  #include <lemon/core.h>
    14.5  #include <lemon/concept_check.h>
    14.6  
    14.7 -///\ingroup concept
    14.8 +///\ingroup map_concepts
    14.9  ///\file
   14.10  ///\brief The concept of maps.
   14.11  
   14.12 @@ -30,7 +30,7 @@
   14.13  
   14.14    namespace concepts {
   14.15  
   14.16 -    /// \addtogroup concept
   14.17 +    /// \addtogroup map_concepts
   14.18      /// @{
   14.19  
   14.20      /// Readable map concept
    15.1 --- a/lemon/dim2.h	Thu Oct 09 10:09:44 2008 +0200
    15.2 +++ b/lemon/dim2.h	Thu Oct 09 13:27:35 2008 +0200
    15.3 @@ -576,7 +576,7 @@
    15.4    ///Map of x-coordinates of a <tt>Point</tt>-map
    15.5  
    15.6    ///Map of x-coordinates of a \ref Point "Point"-map.
    15.7 -  ///\ingroup maps
    15.8 +  ///
    15.9    template<class M>
   15.10    class XMap
   15.11    {
   15.12 @@ -594,8 +594,6 @@
   15.13    ///Returns an XMap class
   15.14  
   15.15    ///This function just returns an XMap class.
   15.16 -  ///
   15.17 -  ///\ingroup maps
   15.18    ///\relates XMap
   15.19    template<class M>
   15.20    inline XMap<M> xMap(M &m)
   15.21 @@ -612,7 +610,7 @@
   15.22    ///Constant (read only) version of XMap
   15.23  
   15.24    ///Constant (read only) version of XMap.
   15.25 -  ///\ingroup maps
   15.26 +  ///
   15.27    template<class M>
   15.28    class ConstXMap
   15.29    {
   15.30 @@ -629,8 +627,6 @@
   15.31    ///Returns a ConstXMap class
   15.32  
   15.33    ///This function just returns a ConstXMap class.
   15.34 -  ///
   15.35 -  ///\ingroup maps
   15.36    ///\relates ConstXMap
   15.37    template<class M>
   15.38    inline ConstXMap<M> xMap(const M &m)
   15.39 @@ -641,7 +637,7 @@
   15.40    ///Map of y-coordinates of a <tt>Point</tt>-map
   15.41  
   15.42    ///Map of y-coordinates of a \ref Point "Point"-map.
   15.43 -  ///\ingroup maps
   15.44 +  ///
   15.45    template<class M>
   15.46    class YMap
   15.47    {
   15.48 @@ -659,8 +655,6 @@
   15.49    ///Returns a YMap class
   15.50  
   15.51    ///This function just returns a YMap class.
   15.52 -  ///
   15.53 -  ///\ingroup maps
   15.54    ///\relates YMap
   15.55    template<class M>
   15.56    inline YMap<M> yMap(M &m)
   15.57 @@ -677,7 +671,7 @@
   15.58    ///Constant (read only) version of YMap
   15.59  
   15.60    ///Constant (read only) version of YMap.
   15.61 -  ///\ingroup maps
   15.62 +  ///
   15.63    template<class M>
   15.64    class ConstYMap
   15.65    {
   15.66 @@ -694,8 +688,6 @@
   15.67    ///Returns a ConstYMap class
   15.68  
   15.69    ///This function just returns a ConstYMap class.
   15.70 -  ///
   15.71 -  ///\ingroup maps
   15.72    ///\relates ConstYMap
   15.73    template<class M>
   15.74    inline ConstYMap<M> yMap(const M &m)
   15.75 @@ -708,7 +700,6 @@
   15.76    ///
   15.77    ///Map of the \ref Point::normSquare() "normSquare()"
   15.78    ///of a \ref Point "Point"-map.
   15.79 -  ///\ingroup maps
   15.80    template<class M>
   15.81    class NormSquareMap
   15.82    {
   15.83 @@ -725,8 +716,6 @@
   15.84    ///Returns a NormSquareMap class
   15.85  
   15.86    ///This function just returns a NormSquareMap class.
   15.87 -  ///
   15.88 -  ///\ingroup maps
   15.89    ///\relates NormSquareMap
   15.90    template<class M>
   15.91    inline NormSquareMap<M> normSquareMap(const M &m)
    16.1 --- a/lemon/maps.h	Thu Oct 09 10:09:44 2008 +0200
    16.2 +++ b/lemon/maps.h	Thu Oct 09 13:27:35 2008 +0200
    16.3 @@ -1683,6 +1683,11 @@
    16.4  
    16.5    }
    16.6  
    16.7 +  /// @}
    16.8 +
    16.9 +  /// \addtogroup maps
   16.10 +  /// @{
   16.11 +
   16.12    /// \brief Writable bool map for logging each \c true assigned element
   16.13    ///
   16.14    /// A \ref concepts::WriteMap "writable" bool map for logging
   16.15 @@ -1775,6 +1780,11 @@
   16.16      return LoggerBoolMap<Iterator>(it);
   16.17    }
   16.18  
   16.19 +  /// @}
   16.20 +
   16.21 +  /// \addtogroup graph_maps
   16.22 +  /// @{
   16.23 +
   16.24    /// Provides an immutable and unique id for each item in the graph.
   16.25  
   16.26    /// The IdMap class provides a unique and immutable id for each item of the
   16.27 @@ -1882,8 +1892,6 @@
   16.28      /// The value type of the InvertableMap.
   16.29      typedef typename Map::Value Value;
   16.30  
   16.31 -
   16.32 -
   16.33      /// \brief Constructor.
   16.34      ///
   16.35      /// Construct a new InvertableMap for the graph.
   16.36 @@ -2049,8 +2057,6 @@
   16.37        return InverseMap(*this);
   16.38      }
   16.39  
   16.40 -
   16.41 -
   16.42    };
   16.43  
   16.44    /// \brief Provides a mutable, continuous and unique descriptor for each
    17.1 --- a/lemon/time_measure.h	Thu Oct 09 10:09:44 2008 +0200
    17.2 +++ b/lemon/time_measure.h	Thu Oct 09 13:27:35 2008 +0200
    17.3 @@ -311,8 +311,8 @@
    17.4      ///\name Control the state of the timer
    17.5      ///Basically a Timer can be either running or stopped,
    17.6      ///but it provides a bit finer control on the execution.
    17.7 -    ///The \ref lemon::Timer "Timer" also counts the number of 
    17.8 -    ///\ref lemon::Timer::start() "start()" executions, and it stops 
    17.9 +    ///The \ref lemon::Timer "Timer" also counts the number of
   17.10 +    ///\ref lemon::Timer::start() "start()" executions, and it stops
   17.11      ///only after the same amount (or more) \ref lemon::Timer::stop()
   17.12      ///"stop()"s. This can be useful e.g. to compute the running time
   17.13      ///of recursive functions.