# HG changeset patch # User alpar # Date 1125606930 0 # Node ID 648aa2f33dc8a6db8e092a6b57d9f3dc4f16971d # Parent 8919ca9e70f3cbccfe7108fb0387128988e59a6a Warning added on the usage of InDegMap/OutDegMap diff -r 8919ca9e70f3 -r 648aa2f33dc8 lemon/graph_utils.h --- a/lemon/graph_utils.h Thu Sep 01 19:21:35 2005 +0000 +++ b/lemon/graph_utils.h Thu Sep 01 20:35:30 2005 +0000 @@ -1070,6 +1070,14 @@ /// in constant time. On the other hand, the values are updated automatically /// whenever the graph changes. /// + /// \warning Besides addNode() and addEdge(), a graph structure may provide + /// alternative ways to mogify the graph. The correct behavior of InDegMap + /// is not guarantied if these additional featureas are used. For example + /// the funstions \ref ListGraph::changeSource() "changeSource()", + /// \ref ListGraph::changeTarget() "changeTarget()" and + /// \ref ListGraph::reverseEdge() "reverseEdge()" + /// of \ref ListGraph will \e not update the degree values correctly. + /// /// \sa OutDegMap template @@ -1154,7 +1162,6 @@ AutoNodeMap deg; }; - /// \brief Map of the node out-degrees. /// /// This map returns the out-degree of a node. Once it is constructed, @@ -1162,6 +1169,14 @@ /// in constant time. On the other hand, the values are updated automatically /// whenever the graph changes. /// + /// \warning Besides addNode() and addEdge(), a graph structure may provide + /// alternative ways to mogify the graph. The correct behavior of OutDegMap + /// is not guarantied if these additional featureas are used. For example + /// the funstions \ref ListGraph::changeSource() "changeSource()", + /// \ref ListGraph::changeTarget() "changeTarget()" and + /// \ref ListGraph::reverseEdge() "reverseEdge()" + /// of \ref ListGraph will \e not update the degree values correctly. + /// /// \sa InDegMap template