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