Changeset 2506:216c6bd5c18c in lemon-0.x for lemon/unionfind.h
- Timestamp:
- 10/30/07 21:44:53 (16 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3352
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/unionfind.h
r2505 r2506 475 475 } 476 476 477 } 477 } 478 479 /// \brief Gives back a representant item of the component. 480 /// 481 /// Gives back a representant item of the component. 482 Item item(int cls) const { 483 return items[classes[cls].firstItem].item; 484 } 478 485 479 486 /// \brief Removes the component of the given element from the structure. … … 733 740 return items[index[item]].cls; 734 741 } 742 743 /// \brief Gives back a representant item of the component. 744 /// 745 /// Gives back a representant item of the component. 746 Item item(int cls) const { 747 return items[classes[cls].firstItem].item; 748 } 735 749 736 750 /// \brief Removes the given element from the structure.
Note: See TracChangeset
for help on using the changeset viewer.