# HG changeset patch # User zsuzska # Date 1111788688 0 # Node ID 74d616d081f0a4ca5f785a8f6a8148c9434305ef # Parent 47c60ae9c26a34e3b1d2fa44231f9b552dca0bee corrections in docs diff -r 47c60ae9c26a -r 74d616d081f0 src/lemon/unionfind.h --- a/src/lemon/unionfind.h Fri Mar 25 22:05:54 2005 +0000 +++ b/src/lemon/unionfind.h Fri Mar 25 22:11:28 2005 +0000 @@ -98,7 +98,7 @@ } /** - * \brief Insert a new element into the structure. + * \brief Inserts a new element into the structure. * * This method inserts a new element into the data structure. * @@ -122,7 +122,7 @@ * \brief Joining the components of element \e a and element \e b. * * This is the \e union operation of the Union-Find structure. - * Joins the component of elemenent \e a and component of + * Joins the component of element \e a and component of * element \e b. If \e a and \e b are in the same component then * it returns false otherwise it returns true. */ @@ -263,7 +263,7 @@ /** - * \brief Insert the given element into a new component. + * \brief Inserts the given element into a new component. * * This method creates a new component consisting only of the * given element. @@ -287,9 +287,9 @@ } /** - * \brief Insert the given element into the component of the others. + * \brief Inserts the given element into the component of the others. * - * This methods insert the element \e a into the component of the + * This methods inserts the element \e a into the component of the * element \e comp. */ @@ -307,7 +307,7 @@ /** - * \brief Find the leader of the component of the given element. + * \brief Finds the leader of the component of the given element. * * The method returns the leader of the component of the given element. */ @@ -321,7 +321,7 @@ * \brief Joining the component of element \e a and element \e b. * * This is the \e union operation of the Union-Find structure. - * Joins the component of elemenent \e a and component of + * Joins the component of element \e a and component of * element \e b. If \e a and \e b are in the same component then * returns false else returns true. */ @@ -374,7 +374,7 @@ /** - * \brief Split up the component of the element. + * \brief Splits up the component of the element. * * Splitting the component of the element into sigleton * components (component of size one). @@ -405,9 +405,9 @@ /** - * \brief Set the given element to the leader element of its component. + * \brief Sets the given element to the leader element of its component. * - * Set the given element to the leader element of its component. + * Sets the given element to the leader element of its component. */ void makeRep(const T &a) { @@ -429,7 +429,7 @@ } /** - * \brief Move the given element to an other component. + * \brief Moves the given element to an other component. * * This method moves the element \e a from its component * to the component of \e comp. @@ -483,9 +483,9 @@ /** - * \brief Remove the given element from the structure. + * \brief Removes the given element from the structure. * - * Remove the given element from the structure. + * Removes the given element from the structure. * * Removes the element from its component and if the component becomes * empty then removes that component from the component list.