lemon/unionfind.h
branch1.1
changeset 710 268a052c3043
parent 550 c5fd2d996909
child 723 1248d23d6e93
equal deleted inserted replaced
7:22bce061f57c 8:7337e7d23d6e
   737     /// \brief Clears the union-find data structure
   737     /// \brief Clears the union-find data structure
   738     ///
   738     ///
   739     /// Erase each item from the data structure.
   739     /// Erase each item from the data structure.
   740     void clear() {
   740     void clear() {
   741       items.clear();
   741       items.clear();
   742       classes.clear;
   742       classes.clear();
   743       firstClass = firstFreeClass = firstFreeItem = -1;
   743       firstClass = firstFreeClass = firstFreeItem = -1;
   744     }
   744     }
   745 
   745 
   746     /// \brief Gives back the class of the \e item.
   746     /// \brief Gives back the class of the \e item.
   747     ///
   747     ///