COIN-OR::LEMON - Graph Library

Changeset 1409:c89884c1737b in lemon


Ignore:
Timestamp:
10/07/17 15:46:28 (2 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Rename private methods in Vf2 and Vf2pp (#597)

Location:
lemon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/vf2.h

    r1408 r1409  
    233233    }
    234234
    235     void setOrder() {
     235    void initOrder() {
    236236      // we will find pairs for the nodes of g1 in this order
    237237
     
    325325
    326326    //calculate the lookup table for cutting the search tree
    327     void setRNew1tRInOut1t() {
     327    void initRNew1tRInOut1t() {
    328328      typename G1::template NodeMap<int> tmp(_g1,0);
    329329      for(unsigned int i=0; i<_order.size(); ++i) {
     
    361361      _mapping_type(SUBGRAPH), _deallocMappingAfterUse(0)
    362362    {
    363       setOrder();
    364       setRNew1tRInOut1t();
     363      initOrder();
     364      initRNew1tRInOut1t();
    365365      for(typename G1::NodeIt n(g1);n!=INVALID;++n)
    366366        m[n]=INVALID;
  • lemon/vf2pp.h

    r1408 r1409  
    353353
    354354    //we will find pairs for the nodes of g1 in this order
    355     void setOrder(){
     355    void initOrder(){
    356356      for(typename G2::NodeIt n2(_g2); n2!=INVALID; ++n2)
    357357        ++_labelTmp1[_intLabels2[n2]];
     
    465465
    466466    //calculate the lookup table for cutting the search tree
    467     void setRNew1tRInOut1t(){
     467    void initRNew1tRInOut1t(){
    468468      typename G1::template NodeMap<int> tmp(_g1,0);
    469469      for(unsigned int i=0; i<_order.size(); ++i) {
     
    538538      _deallocLabelsAfterUse(0)
    539539    {
    540       setOrder();
    541       setRNew1tRInOut1t();
     540      initOrder();
     541      initRNew1tRInOut1t();
    542542
    543543      //reset mapping
Note: See TracChangeset for help on using the changeset viewer.