# HG changeset patch # User athos # Date 1150816808 0 # Node ID eb73ab0e4c741a6085cdb691dfe39e932fb59868 # Parent 439b7f21ccc4e8b7f9a4349ffca892a89db2c15c Slight changes in doc. diff -r 439b7f21ccc4 -r eb73ab0e4c74 lemon/bits/graph_extender.h --- a/lemon/bits/graph_extender.h Mon Jun 19 13:44:06 2006 +0000 +++ b/lemon/bits/graph_extender.h Tue Jun 20 15:20:08 2006 +0000 @@ -189,13 +189,13 @@ /// \brief Base node of the iterator /// - /// Returns the base node (ie. the source in this case) of the iterator + /// Returns the base node (i.e. the source in this case) of the iterator Node baseNode(const OutEdgeIt &e) const { return Parent::source(e); } /// \brief Running node of the iterator /// - /// Returns the running node (ie. the target in this case) of the + /// Returns the running node (i.e. the target in this case) of the /// iterator Node runningNode(const OutEdgeIt &e) const { return Parent::target(e); @@ -203,13 +203,13 @@ /// \brief Base node of the iterator /// - /// Returns the base node (ie. the target in this case) of the iterator + /// Returns the base node (i.e. the target in this case) of the iterator Node baseNode(const InEdgeIt &e) const { return Parent::target(e); } /// \brief Running node of the iterator /// - /// Returns the running node (ie. the source in this case) of the + /// Returns the running node (i.e. the source in this case) of the /// iterator Node runningNode(const InEdgeIt &e) const { return Parent::source(e); diff -r 439b7f21ccc4 -r eb73ab0e4c74 lemon/list_graph.h --- a/lemon/list_graph.h Mon Jun 19 13:44:06 2006 +0000 +++ b/lemon/list_graph.h Tue Jun 20 15:20:08 2006 +0000 @@ -316,8 +316,8 @@ ///This is a simple and fast erasable graph implementation. /// - ///It addition that it conforms to the - ///\ref concept::ErasableGraph "ErasableGraph" concept, + ///It conforms to the + ///\ref concept::ErasableGraph "ErasableGraph" concept and ///it also provides several additional useful extra functionalities. ///\sa concept::ErasableGraph. @@ -330,9 +330,9 @@ /// Changes the target of \c e to \c n /// - ///\note The Edge's and OutEdge's + ///\note The Edges and OutEdges ///referencing the changed edge remain - ///valid. However InEdge's are invalidated. + ///valid. However InEdges are invalidated. void changeTarget(Edge e, Node n) { _changeTarget(e,n); } @@ -340,27 +340,27 @@ /// Changes the source of \c e to \c n /// - ///\note The Edge's and InEdge's + ///\note The Edges and InEdges ///referencing the changed edge remain - ///valid. However OutEdge's are invalidated. + ///valid. However OutEdges are invalidated. void changeSource(Edge e, Node n) { _changeSource(e,n); } /// Invert the direction of an edge. - ///\note The Edge's + ///\note The Edges ///referencing the changed edge remain - ///valid. However OutEdge's and InEdge's are invalidated. + ///valid. However OutEdges and InEdges are invalidated. void reverseEdge(Edge e) { Node t=target(e); _changeTarget(e,source(e)); _changeSource(e,t); } - ///Using this it possible to avoid the superfluous memory allocation. + ///Using this it is possible to avoid the superfluous memory allocation. - ///Using this it possible to avoid the superfluous memory allocation. + ///Using this it is possible to avoid the superfluous memory allocation. ///\todo more docs... void reserveEdge(int n) { edges.reserve(n); }; @@ -369,13 +369,13 @@ ///This function contracts two nodes. /// ///Node \p b will be removed but instead of deleting - ///its neighboring edges, they will be joined to \p a. + ///incident edges, they will be joined to \p a. ///The last parameter \p r controls whether to remove loops. \c true ///means that loops will be removed. /// ///\note The Edges ///referencing a moved edge remain - ///valid. However InEdge's and OutEdge's + ///valid. However InEdges and OutEdges ///may be invalidated. void contract(Node a, Node b, bool r = true) { @@ -406,7 +406,7 @@ /// ///\note The Edges ///referencing a moved edge remain - ///valid. However InEdge's and OutEdge's + ///valid. However InEdges and OutEdges ///may be invalidated. ///\warning This functionality cannot be used together with the Snapshot ///feature. @@ -426,12 +426,12 @@ ///Split an edge. - ///This function splits an edge. First a new node \c b is added to the graph, - ///then the original edge is re-targetes to \c b. Finally an edge - ///from \c b to the original target is added. - ///\return The newly created node. - ///\warning This functionality cannot be used together with the Snapshot - ///feature. + ///This function splits an edge. First a new node \c b is added to + ///the graph, then the original edge is re-targeted to \c + ///b. Finally an edge from \c b to the original target is added. + ///\return The newly created node. + ///\warning This functionality + ///cannot be used together with the Snapshot feature. Node split(Edge e) { Node b = addNode(); @@ -440,9 +440,9 @@ return b; } - ///Class to make a snapshot of the graph and to restrore to it later. + ///Class to make a snapshot of the graph and to restore it later. - ///Class to make a snapshot of the graph and to restrore to it later. + ///Class to make a snapshot of the graph and to restore it later. /// ///The newly added nodes and edges can be removed using the ///restore() function.