lemon/unionfind.h
changeset 826 02109e17027f
parent 786 e20173729589
child 875 07ec2b52e53d
equal deleted inserted replaced
8:9f26216a9d81 9:c37bcf9fdd39
   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     ///