# HG changeset patch # User Peter Kovacs # Date 1258132206 -3600 # Node ID e201737295892296801648f7302dd0b3e65d6beb # Parent 9ae88e7c04a7188bed92911c7eb2ea90d065d2e6 Small doc fixes in several files (#331) diff -r 9ae88e7c04a7 -r e20173729589 doc/min_cost_flow.dox --- a/doc/min_cost_flow.dox Fri Nov 13 17:30:26 2009 +0100 +++ b/doc/min_cost_flow.dox Fri Nov 13 18:10:06 2009 +0100 @@ -78,7 +78,7 @@ - if \f$lower(uv)=0\f$; + - \f$\pi(u)\geq 0\f$; - if \f$\sum_{uv\in A} f(uv) - \sum_{vu\in A} f(vu) \neq sup(u)\f$, then \f$\pi(u)=0\f$. diff -r 9ae88e7c04a7 -r e20173729589 lemon/bellman_ford.h --- a/lemon/bellman_ford.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/bellman_ford.h Fri Nov 13 18:10:06 2009 +0100 @@ -299,7 +299,7 @@ /// /// \ref named-templ-param "Named parameter" for setting /// \c OperationTraits type. - /// For more information see \ref BellmanFordDefaultOperationTraits. + /// For more information, see \ref BellmanFordDefaultOperationTraits. template struct SetOperationTraits : public BellmanFord< Digraph, LengthMap, SetOperationTraitsTraits > { @@ -717,7 +717,7 @@ /// is not reached from the root(s) or if \c v is a root. /// /// The shortest path tree used here is equal to the shortest path - /// tree used in \ref predNode() and \predMap(). + /// tree used in \ref predNode() and \ref predMap(). /// /// \pre Either \ref run() or \ref init() must be called before /// using this function. @@ -732,7 +732,7 @@ /// is not reached from the root(s) or if \c v is a root. /// /// The shortest path tree used here is equal to the shortest path - /// tree used in \ref predArc() and \predMap(). + /// tree used in \ref predArc() and \ref predMap(). /// /// \pre Either \ref run() or \ref init() must be called before /// using this function. diff -r 9ae88e7c04a7 -r e20173729589 lemon/bfs.h --- a/lemon/bfs.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/bfs.h Fri Nov 13 18:10:06 2009 +0100 @@ -63,7 +63,7 @@ ///The type of the map that indicates which nodes are processed. ///It must conform to the \ref concepts::WriteMap "WriteMap" concept. - ///By default it is a NullMap. + ///By default, it is a NullMap. typedef NullMap ProcessedMap; ///Instantiates a \c ProcessedMap. @@ -852,7 +852,7 @@ ///The type of the map that indicates which nodes are processed. ///It must conform to the \ref concepts::WriteMap "WriteMap" concept. - ///By default it is a NullMap. + ///By default, it is a NullMap. typedef NullMap ProcessedMap; ///Instantiates a ProcessedMap. diff -r 9ae88e7c04a7 -r e20173729589 lemon/circulation.h --- a/lemon/circulation.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/circulation.h Fri Nov 13 18:10:06 2009 +0100 @@ -306,7 +306,7 @@ /// The Elevator should have standard constructor interface to be /// able to automatically created by the algorithm (i.e. the /// digraph and the maximum level should be passed to it). - /// However an external elevator object could also be passed to the + /// However, an external elevator object could also be passed to the /// algorithm with the \ref elevator(Elevator&) "elevator()" function /// before calling \ref run() or \ref init(). /// \sa SetElevator diff -r 9ae88e7c04a7 -r e20173729589 lemon/concepts/digraph.h --- a/lemon/concepts/digraph.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/concepts/digraph.h Fri Nov 13 18:10:06 2009 +0100 @@ -107,7 +107,7 @@ /// Iterator class for the nodes. /// This iterator goes through each node of the digraph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of nodes in a digraph \c g of type \c %Digraph like this: ///\code /// int count=0; @@ -196,7 +196,7 @@ /// This iterator goes trough the \e outgoing arcs of a certain node /// of a digraph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of outgoing arcs of a node \c n /// in a digraph \c g of type \c %Digraph as follows. ///\code @@ -241,7 +241,7 @@ /// This iterator goes trough the \e incoming arcs of a certain node /// of a digraph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of incoming arcs of a node \c n /// in a digraph \c g of type \c %Digraph as follows. ///\code @@ -285,7 +285,7 @@ /// Iterator class for the arcs. /// This iterator goes through each arc of the digraph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of arcs in a digraph \c g of type \c %Digraph as follows: ///\code /// int count=0; diff -r 9ae88e7c04a7 -r e20173729589 lemon/concepts/graph.h --- a/lemon/concepts/graph.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/concepts/graph.h Fri Nov 13 18:10:06 2009 +0100 @@ -140,7 +140,7 @@ /// Iterator class for the nodes. /// This iterator goes through each node of the graph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of nodes in a graph \c g of type \c %Graph like this: ///\code /// int count=0; @@ -228,7 +228,7 @@ /// Iterator class for the edges. /// This iterator goes through each edge of the graph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of edges in a graph \c g of type \c %Graph as follows: ///\code /// int count=0; @@ -272,7 +272,7 @@ /// This iterator goes trough the incident undirected edges /// of a certain node of a graph. - /// Its usage is quite simple, for example you can compute the + /// Its usage is quite simple, for example, you can compute the /// degree (i.e. the number of incident edges) of a node \c n /// in a graph \c g of type \c %Graph as follows. /// @@ -369,7 +369,7 @@ /// Iterator class for the arcs. /// This iterator goes through each directed arc of the graph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of arcs in a graph \c g of type \c %Graph as follows: ///\code /// int count=0; @@ -413,7 +413,7 @@ /// This iterator goes trough the \e outgoing directed arcs of a /// certain node of a graph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of outgoing arcs of a node \c n /// in a graph \c g of type \c %Graph as follows. ///\code @@ -461,7 +461,7 @@ /// This iterator goes trough the \e incoming directed arcs of a /// certain node of a graph. - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of incoming arcs of a node \c n /// in a graph \c g of type \c %Graph as follows. ///\code @@ -587,7 +587,7 @@ /// /// Returns the first node of the given edge. /// - /// Edges don't have source and target nodes, however methods + /// Edges don't have source and target nodes, however, methods /// u() and v() are used to query the two end-nodes of an edge. /// The orientation of an edge that arises this way is called /// the inherent direction, it is used to define the default @@ -600,7 +600,7 @@ /// /// Returns the second node of the given edge. /// - /// Edges don't have source and target nodes, however methods + /// Edges don't have source and target nodes, however, methods /// u() and v() are used to query the two end-nodes of an edge. /// The orientation of an edge that arises this way is called /// the inherent direction, it is used to define the default diff -r 9ae88e7c04a7 -r e20173729589 lemon/concepts/graph_components.h --- a/lemon/concepts/graph_components.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/concepts/graph_components.h Fri Nov 13 18:10:06 2009 +0100 @@ -18,7 +18,7 @@ ///\ingroup graph_concepts ///\file -///\brief The concept of graph components. +///\brief The concepts of graph components. #ifndef LEMON_CONCEPTS_GRAPH_COMPONENTS_H #define LEMON_CONCEPTS_GRAPH_COMPONENTS_H diff -r 9ae88e7c04a7 -r e20173729589 lemon/counter.h --- a/lemon/counter.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/counter.h Fri Nov 13 18:10:06 2009 +0100 @@ -212,7 +212,7 @@ /// 'Do nothing' version of Counter. - /// This class can be used in the same way as \ref Counter however it + /// This class can be used in the same way as \ref Counter, but it /// does not count at all and does not print report on destruction. /// /// Replacing a \ref Counter with a \ref NoCounter makes it possible diff -r 9ae88e7c04a7 -r e20173729589 lemon/dfs.h --- a/lemon/dfs.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/dfs.h Fri Nov 13 18:10:06 2009 +0100 @@ -63,7 +63,7 @@ ///The type of the map that indicates which nodes are processed. ///It must conform to the \ref concepts::WriteMap "WriteMap" concept. - ///By default it is a NullMap. + ///By default, it is a NullMap. typedef NullMap ProcessedMap; ///Instantiates a \c ProcessedMap. @@ -782,7 +782,7 @@ ///The type of the map that indicates which nodes are processed. ///It must conform to the \ref concepts::WriteMap "WriteMap" concept. - ///By default it is a NullMap. + ///By default, it is a NullMap. typedef NullMap ProcessedMap; ///Instantiates a ProcessedMap. diff -r 9ae88e7c04a7 -r e20173729589 lemon/dijkstra.h --- a/lemon/dijkstra.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/dijkstra.h Fri Nov 13 18:10:06 2009 +0100 @@ -132,7 +132,7 @@ ///The type of the map that indicates which nodes are processed. ///It must conform to the \ref concepts::WriteMap "WriteMap" concept. - ///By default it is a NullMap. + ///By default, it is a NullMap. typedef NullMap ProcessedMap; ///Instantiates a \c ProcessedMap. @@ -426,7 +426,7 @@ ///automatically created by the algorithm (i.e. the digraph should be ///passed to the constructor of the cross reference and the cross ///reference should be passed to the constructor of the heap). - ///However external heap and cross reference objects could also be + ///However, external heap and cross reference objects could also be ///passed to the algorithm using the \ref heap() function before ///calling \ref run(Node) "run()" or \ref init(). ///\sa SetHeap @@ -447,7 +447,7 @@ /// ///\ref named-templ-param "Named parameter" for setting ///\c OperationTraits type. - /// For more information see \ref DijkstraDefaultOperationTraits. + /// For more information, see \ref DijkstraDefaultOperationTraits. template struct SetOperationTraits : public Dijkstra > { @@ -996,7 +996,7 @@ ///The type of the map that indicates which nodes are processed. ///It must conform to the \ref concepts::WriteMap "WriteMap" concept. - ///By default it is a NullMap. + ///By default, it is a NullMap. typedef NullMap ProcessedMap; ///Instantiates a ProcessedMap. diff -r 9ae88e7c04a7 -r e20173729589 lemon/gomory_hu.h --- a/lemon/gomory_hu.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/gomory_hu.h Fri Nov 13 18:10:06 2009 +0100 @@ -294,11 +294,9 @@ /// /// \pre \ref run() must be called before using this function. template - Value minCutMap(const Node& s, ///< + Value minCutMap(const Node& s, const Node& t, - ///< CutMap& cutMap - ///< ) const { Node sn = s, tn = t; bool s_root=false; @@ -394,7 +392,7 @@ /// MinCutNodeIt(gomory, t, s, false); /// \endcode /// does not necessarily give the same set of nodes. - /// However it is ensured that + /// However, it is ensured that /// \code /// MinCutNodeIt(gomory, s, t, true); /// \endcode diff -r 9ae88e7c04a7 -r e20173729589 lemon/graph_to_eps.h --- a/lemon/graph_to_eps.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/graph_to_eps.h Fri Nov 13 18:10:06 2009 +0100 @@ -142,7 +142,7 @@ ///Constructor ///\param gr Reference to the graph to be printed. ///\param ost Reference to the output stream. - ///By default it is std::cout. + ///By default, it is std::cout. ///\param pros If it is \c true, then the \c ostream referenced by \c os ///will be explicitly deallocated by the destructor. DefaultGraphToEpsTraits(const GR &gr, std::ostream& ost = std::cout, @@ -512,7 +512,7 @@ ///Turn on/off pre-scaling - ///By default graphToEps() rescales the whole image in order to avoid + ///By default, graphToEps() rescales the whole image in order to avoid ///very big or very small bounding boxes. /// ///This (p)rescaling can be turned off with this function. @@ -1114,7 +1114,7 @@ ///Generates an EPS file from a graph. ///\param g Reference to the graph to be printed. ///\param os Reference to the output stream. -///By default it is std::cout. +///By default, it is std::cout. /// ///This function also has a lot of ///\ref named-templ-func-param "named parameters", @@ -1126,7 +1126,7 @@ /// .arcWidthScale(.4).run(); ///\endcode /// -///For more detailed examples see the \ref graph_to_eps_demo.cc demo file. +///For more detailed examples, see the \ref graph_to_eps_demo.cc demo file. /// ///\warning Don't forget to put the \ref GraphToEps::run() "run()" ///to the end of the parameter list. diff -r 9ae88e7c04a7 -r e20173729589 lemon/hypercube_graph.h --- a/lemon/hypercube_graph.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/hypercube_graph.h Fri Nov 13 18:10:06 2009 +0100 @@ -287,7 +287,7 @@ /// Two nodes are connected in the graph if and only if their indices /// differ only on one position in the binary form. /// This class is completely static and it needs constant memory space. - /// Thus you can neither add nor delete nodes or edges, however + /// Thus you can neither add nor delete nodes or edges, however, /// the structure can be resized using resize(). /// /// This type fully conforms to the \ref concepts::Graph "Graph concept". diff -r 9ae88e7c04a7 -r e20173729589 lemon/lgf_reader.h --- a/lemon/lgf_reader.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/lgf_reader.h Fri Nov 13 18:10:06 2009 +0100 @@ -427,7 +427,7 @@ /// run(); ///\endcode /// - /// By default the reader uses the first section in the file of the + /// By default, the reader uses the first section in the file of the /// proper type. If a section has an optional name, then it can be /// selected for reading by giving an optional name parameter to the /// \c nodes(), \c arcs() or \c attributes() functions. @@ -2221,7 +2221,7 @@ /// and the comment lines are filtered out, and the leading /// whitespaces are trimmed from each processed string. /// - /// For example let's see a section, which contain several + /// For example, let's see a section, which contain several /// integers, which should be inserted into a vector. ///\code /// @numbers diff -r 9ae88e7c04a7 -r e20173729589 lemon/list_graph.h --- a/lemon/list_graph.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/list_graph.h Fri Nov 13 18:10:06 2009 +0100 @@ -391,7 +391,7 @@ /// This function changes the target node of the given arc \c a to \c n. /// ///\note \c ArcIt and \c OutArcIt iterators referencing the changed - ///arc remain valid, however \c InArcIt iterators are invalidated. + ///arc remain valid, but \c InArcIt iterators are invalidated. /// ///\warning This functionality cannot be used together with the Snapshot ///feature. @@ -403,7 +403,7 @@ /// This function changes the source node of the given arc \c a to \c n. /// ///\note \c InArcIt iterators referencing the changed arc remain - ///valid, however \c ArcIt and \c OutArcIt iterators are invalidated. + ///valid, but \c ArcIt and \c OutArcIt iterators are invalidated. /// ///\warning This functionality cannot be used together with the Snapshot ///feature. @@ -549,7 +549,7 @@ /// \warning Node and arc deletions and other modifications (e.g. /// reversing, contracting, splitting arcs or nodes) cannot be /// restored. These events invalidate the snapshot. - /// However the arcs and nodes that were added to the digraph after + /// However, the arcs and nodes that were added to the digraph after /// making the current snapshot can be removed without invalidating it. class Snapshot { protected: @@ -1267,7 +1267,7 @@ /// This function changes the second node of the given edge \c e to \c n. /// ///\note \c EdgeIt iterators referencing the changed edge remain - ///valid, however \c ArcIt iterators referencing the changed edge and + ///valid, but \c ArcIt iterators referencing the changed edge and ///all other iterators whose base node is the changed node are also ///invalidated. /// @@ -1351,7 +1351,7 @@ /// \warning Node and edge deletions and other modifications /// (e.g. changing the end-nodes of edges or contracting nodes) /// cannot be restored. These events invalidate the snapshot. - /// However the edges and nodes that were added to the graph after + /// However, the edges and nodes that were added to the graph after /// making the current snapshot can be removed without invalidating it. class Snapshot { protected: diff -r 9ae88e7c04a7 -r e20173729589 lemon/lp_base.h --- a/lemon/lp_base.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/lp_base.h Fri Nov 13 18:10:06 2009 +0100 @@ -146,7 +146,7 @@ ///Iterator for iterate over the columns of an LP problem - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of columns in an LP \c lp: ///\code /// int count=0; @@ -241,7 +241,7 @@ ///Iterator for iterate over the rows of an LP problem - /// Its usage is quite simple, for example you can count the number + /// Its usage is quite simple, for example, you can count the number /// of rows in an LP \c lp: ///\code /// int count=0; diff -r 9ae88e7c04a7 -r e20173729589 lemon/maps.h --- a/lemon/maps.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/maps.h Fri Nov 13 18:10:06 2009 +0100 @@ -230,10 +230,10 @@ /// /// This map is essentially a wrapper for \c std::vector. It assigns /// values to integer keys from the range [0..size-1]. - /// It can be used with some data structures, for example - /// \c UnionFind, \c BinHeap, when the used items are small + /// It can be used together with some data structures, e.g. + /// heap types and \c UnionFind, when the used items are small /// integers. This map conforms to the \ref concepts::ReferenceMap - /// "ReferenceMap" concept. + /// "ReferenceMap" concept. /// /// The simplest way of using this map is through the rangeMap() /// function. @@ -348,9 +348,9 @@ /// keys (i.e. the map is "sparse"). /// The name of this type also refers to this important usage. /// - /// Apart form that this map can be used in many other cases since it + /// Apart form that, this map can be used in many other cases since it /// is based on \c std::map, which is a general associative container. - /// However keep in mind that it is usually not as efficient as other + /// However, keep in mind that it is usually not as efficient as other /// maps. /// /// The simplest way of using this map is through the sparseMap() @@ -1785,7 +1785,7 @@ /// /// The most important usage of it is storing certain nodes or arcs /// that were marked \c true by an algorithm. - /// For example it makes easier to store the nodes in the processing + /// For example, it makes easier to store the nodes in the processing /// order of Dfs algorithm, as the following examples show. /// \code /// std::vector v; @@ -1800,7 +1800,7 @@ /// for the elements or the iterator should be an inserter iterator. /// /// \note LoggerBoolMap is just \ref concepts::WriteMap "writable", so - /// it cannot be used when a readable map is needed, for example as + /// it cannot be used when a readable map is needed, for example, as /// \c ReachedMap for \c Bfs, \c Dfs and \c Dijkstra algorithms. /// /// \relates LoggerBoolMap @@ -1922,7 +1922,7 @@ /// items with the same value. /// Otherwise consider to use \c IterableValueMap, which is more /// suitable and more efficient for such cases. It provides iterators - /// to traverse the items with the same associated value, however + /// to traverse the items with the same associated value, but /// it does not have \c InverseMap. /// /// This type is not reference map, so it cannot be modified with @@ -3466,7 +3466,7 @@ /// \warning Besides \c addNode() and \c addArc(), a digraph structure /// may provide alternative ways to modify the digraph. /// The correct behavior of InDegMap is not guarantied if these additional - /// features are used. For example the functions + /// features are used. For example, the functions /// \ref ListDigraph::changeSource() "changeSource()", /// \ref ListDigraph::changeTarget() "changeTarget()" and /// \ref ListDigraph::reverseArc() "reverseArc()" @@ -3596,7 +3596,7 @@ /// \warning Besides \c addNode() and \c addArc(), a digraph structure /// may provide alternative ways to modify the digraph. /// The correct behavior of OutDegMap is not guarantied if these additional - /// features are used. For example the functions + /// features are used. For example, the functions /// \ref ListDigraph::changeSource() "changeSource()", /// \ref ListDigraph::changeTarget() "changeTarget()" and /// \ref ListDigraph::reverseArc() "reverseArc()" diff -r 9ae88e7c04a7 -r e20173729589 lemon/network_simplex.h --- a/lemon/network_simplex.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/network_simplex.h Fri Nov 13 18:10:06 2009 +0100 @@ -48,7 +48,7 @@ /// In general this class is the fastest implementation available /// in LEMON for the minimum cost flow problem. /// Moreover it supports both directions of the supply/demand inequality - /// constraints. For more information see \ref SupplyType. + /// constraints. For more information, see \ref SupplyType. /// /// Most of the parameters of the problem (except for the digraph) /// can be given using separate functions, and the algorithm can be @@ -57,16 +57,16 @@ /// /// \tparam GR The digraph type the algorithm runs on. /// \tparam V The value type used for flow amounts, capacity bounds - /// and supply values in the algorithm. By default it is \c int. + /// and supply values in the algorithm. By default, it is \c int. /// \tparam C The value type used for costs and potentials in the - /// algorithm. By default it is the same as \c V. + /// algorithm. By default, it is the same as \c V. /// /// \warning Both value types must be signed and all input data must /// be integer. /// /// \note %NetworkSimplex provides five different pivot rule /// implementations, from which the most efficient one is used - /// by default. For more information see \ref PivotRule. + /// by default. For more information, see \ref PivotRule. template class NetworkSimplex { @@ -122,35 +122,35 @@ /// \ref NetworkSimplex provides five different pivot rule /// implementations that significantly affect the running time /// of the algorithm. - /// By default \ref BLOCK_SEARCH "Block Search" is used, which + /// By default, \ref BLOCK_SEARCH "Block Search" is used, which /// proved to be the most efficient and the most robust on various /// test inputs according to our benchmark tests. - /// However another pivot rule can be selected using the \ref run() + /// However, another pivot rule can be selected using the \ref run() /// function with the proper parameter. enum PivotRule { - /// The First Eligible pivot rule. + /// The \e First \e Eligible pivot rule. /// The next eligible arc is selected in a wraparound fashion /// in every iteration. FIRST_ELIGIBLE, - /// The Best Eligible pivot rule. + /// The \e Best \e Eligible pivot rule. /// The best eligible arc is selected in every iteration. BEST_ELIGIBLE, - /// The Block Search pivot rule. + /// The \e Block \e Search pivot rule. /// A specified number of arcs are examined in every iteration /// in a wraparound fashion and the best eligible arc is selected /// from this block. BLOCK_SEARCH, - /// The Candidate List pivot rule. + /// The \e Candidate \e List pivot rule. /// In a major iteration a candidate list is built from eligible arcs /// in a wraparound fashion and in the following minor iterations /// the best eligible arc is selected from this list. CANDIDATE_LIST, - /// The Altering Candidate List pivot rule. + /// The \e Altering \e Candidate \e List pivot rule. /// It is a modified version of the Candidate List method. /// It keeps only the several best eligible arcs from the former /// candidate list and extends this list in every iteration. @@ -810,7 +810,7 @@ /// If it is not used before calling \ref run(), the \ref GEQ supply /// type will be used. /// - /// For more information see \ref SupplyType. + /// For more information, see \ref SupplyType. /// /// \return (*this) NetworkSimplex& supplyType(SupplyType supply_type) { @@ -842,11 +842,11 @@ /// that have been given are kept for the next call, unless /// \ref reset() is called, thus only the modified parameters /// have to be set again. See \ref reset() for examples. - /// However the underlying digraph must not be modified after this + /// However, the underlying digraph must not be modified after this /// class have been constructed, since it copies and extends the graph. /// /// \param pivot_rule The pivot rule that will be used during the - /// algorithm. For more information see \ref PivotRule. + /// algorithm. For more information, see \ref PivotRule. /// /// \return \c INFEASIBLE if no feasible flow exists, /// \n \c OPTIMAL if the problem has optimal solution @@ -871,7 +871,7 @@ /// It is useful for multiple run() calls. If this function is not /// used, all the parameters given before are kept for the next /// \ref run() call. - /// However the underlying digraph must not be modified after this + /// However, the underlying digraph must not be modified after this /// class have been constructed, since it copies and extends the graph. /// /// For example, diff -r 9ae88e7c04a7 -r e20173729589 lemon/preflow.h --- a/lemon/preflow.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/preflow.h Fri Nov 13 18:10:06 2009 +0100 @@ -264,7 +264,7 @@ /// The Elevator should have standard constructor interface to be /// able to automatically created by the algorithm (i.e. the /// digraph and the maximum level should be passed to it). - /// However an external elevator object could also be passed to the + /// However, an external elevator object could also be passed to the /// algorithm with the \ref elevator(Elevator&) "elevator()" function /// before calling \ref run() or \ref init(). /// \sa SetElevator diff -r 9ae88e7c04a7 -r e20173729589 lemon/time_measure.h --- a/lemon/time_measure.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/time_measure.h Fri Nov 13 18:10:06 2009 +0100 @@ -375,7 +375,7 @@ ///This function returns the number of stop() exections that is ///necessary to really stop the timer. - ///For example the timer + ///For example, the timer ///is running if and only if the return value is \c true ///(i.e. greater than ///zero). diff -r 9ae88e7c04a7 -r e20173729589 lemon/unionfind.h --- a/lemon/unionfind.h Fri Nov 13 17:30:26 2009 +0100 +++ b/lemon/unionfind.h Fri Nov 13 18:10:06 2009 +0100 @@ -43,7 +43,7 @@ /// the find operation uses path compression. /// This is a very simple but efficient implementation, providing /// only four methods: join (union), find, insert and size. - /// For more features see the \ref UnionFindEnum class. + /// For more features, see the \ref UnionFindEnum class. /// /// It is primarily used in Kruskal algorithm for finding minimal /// cost spanning tree in a graph.