equal
deleted
inserted
replaced
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 /// |