diff -r b55e501a90ee -r ee1324c91288 lemon/path_utils.h --- a/lemon/path_utils.h Thu Jan 24 11:31:19 2008 +0000 +++ b/lemon/path_utils.h Thu Jan 24 16:49:10 2008 +0000 @@ -90,18 +90,19 @@ } - /// \brief Make of copy of a path. + /// \brief Make a copy of a path. /// - /// Make of copy of a path. + /// This function makes a copy of a path. template void copyPath(Target& target, const Source& source) { checkConcept, Source>(); _path_bits::PathCopySelector::copy(target, source); } - /// \brief Checks the path's consistency. + /// \brief Check the consistency of a path. /// - /// Checks that each arc's target is the next's source. + /// This function checks that the target of each arc is the same + /// as the source of the next one. /// template bool checkPath(const Digraph& digraph, const Path& path) { @@ -117,31 +118,31 @@ return true; } - /// \brief Gives back the source of the path + /// \brief The source of a path /// - /// Gives back the source of the path. + /// This function returns the source of the given path. template typename Digraph::Node pathSource(const Digraph& digraph, const Path& path) { return digraph.source(path.front()); } - /// \brief Gives back the target of the path + /// \brief The target of a path /// - /// Gives back the target of the path. + /// This function returns the target of the given path. template typename Digraph::Node pathTarget(const Digraph& digraph, const Path& path) { return digraph.target(path.back()); } - /// \brief Class which helps to iterate the nodes of a path + /// \brief Class which helps to iterate through the nodes of a path /// /// In a sense, the path can be treated as a list of arcs. The - /// lemon path type stores just this list. As a consequence it + /// lemon path type stores only this list. As a consequence, it /// cannot enumerate the nodes in the path and the zero length paths - /// cannot store the node. + /// cannot have a source node. /// /// This class implements the node iterator of a path structure. To - /// provide this feature, the underlying digraph should be given to + /// provide this feature, the underlying digraph should be passed to /// the constructor of the iterator. template class PathNodeIt {