COIN-OR::LEMON - Graph Library

Changeset 946:1248d23d6e93 in lemon


Ignore:
Timestamp:
03/17/10 10:23:17 (9 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
1.1
Parents:
940:0a48b28c6683 (diff), 945:5b926cc36a4b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Phase:
public
Message:

Merge bugfix #356 to branch 1.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/unionfind.h

    r894 r946  
    12891289        first_free_class(-1), first_free_node(-1) {}
    12901290
     1291    /// \brief Clears the union-find data structure
     1292    ///
     1293    /// Erase each item from the data structure.
     1294    void clear() {
     1295      nodes.clear();
     1296      classes.clear();
     1297      first_free_node = first_free_class = first_class = -1;
     1298    }
     1299
    12911300    /// \brief Insert a new node into a new component.
    12921301    ///
Note: See TracChangeset for help on using the changeset viewer.