[Lemon-commits] [lemon_svn] zsuzska: r1693 - hugo/trunk/src/lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:47:02 CET 2006


Author: zsuzska
Date: Fri Mar 25 23:11:28 2005
New Revision: 1693

Modified:
   hugo/trunk/src/lemon/unionfind.h

Log:
corrections in docs

Modified: hugo/trunk/src/lemon/unionfind.h
==============================================================================
--- hugo/trunk/src/lemon/unionfind.h	(original)
+++ hugo/trunk/src/lemon/unionfind.h	Fri Mar 25 23:11:28 2005
@@ -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.



More information about the Lemon-commits mailing list