Changeset 2427:d40c31b08d6f in lemon-0.x
- Timestamp:
- 04/20/07 16:06:08 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3263
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/unionfind.h
r2391 r2427 102 102 } 103 103 104 /// \brief Clears the union-find data structure 105 /// 106 /// Erase each item from the data structure. 107 void clear() { 108 items.clear(); 109 } 110 104 111 /// \brief Inserts a new element into the structure. 105 112 /// … … 284 291 285 292 items.push_back(t); 293 } 294 295 /// \brief Clears the union-find data structure 296 /// 297 /// Erase each item from the data structure. 298 void clear() { 299 items.clear(); 300 firstClass = -1; 286 301 } 287 302
Note: See TracChangeset
for help on using the changeset viewer.