lemon/unionfind.h
branch1.0
changeset 893 cf0c1b85618c
parent 460 81d40f1c850c
child 1078 c59bdcc8e33e
equal deleted inserted replaced
5:839107f01407 10:715af3213d0f
   731     /// \brief Clears the union-find data structure
   731     /// \brief Clears the union-find data structure
   732     ///
   732     ///
   733     /// Erase each item from the data structure.
   733     /// Erase each item from the data structure.
   734     void clear() {
   734     void clear() {
   735       items.clear();
   735       items.clear();
   736       classes.clear;
   736       classes.clear();
   737       firstClass = firstFreeClass = firstFreeItem = -1;
   737       firstClass = firstFreeClass = firstFreeItem = -1;
   738     }
   738     }
   739 
   739 
   740     /// \brief Gives back the class of the \e item.
   740     /// \brief Gives back the class of the \e item.
   741     ///
   741     ///