lemon/vf2pp.h
changeset 1190 c89884c1737b
parent 1189 b9fad0f9f8ab
child 1191 d9f79b81ef6c
     1.1 --- a/lemon/vf2pp.h	Sat Oct 07 15:45:56 2017 +0200
     1.2 +++ b/lemon/vf2pp.h	Sat Oct 07 15:46:28 2017 +0200
     1.3 @@ -352,7 +352,7 @@
     1.4  
     1.5  
     1.6      //we will find pairs for the nodes of g1 in this order
     1.7 -    void setOrder(){
     1.8 +    void initOrder(){
     1.9        for(typename G2::NodeIt n2(_g2); n2!=INVALID; ++n2)
    1.10          ++_labelTmp1[_intLabels2[n2]];
    1.11  
    1.12 @@ -464,7 +464,7 @@
    1.13      }
    1.14  
    1.15      //calculate the lookup table for cutting the search tree
    1.16 -    void setRNew1tRInOut1t(){
    1.17 +    void initRNew1tRInOut1t(){
    1.18        typename G1::template NodeMap<int> tmp(_g1,0);
    1.19        for(unsigned int i=0; i<_order.size(); ++i) {
    1.20          tmp[_order[i]]=-1;
    1.21 @@ -537,8 +537,8 @@
    1.22        _mapping_type(SUBGRAPH), _deallocMappingAfterUse(0),
    1.23        _deallocLabelsAfterUse(0)
    1.24      {
    1.25 -      setOrder();
    1.26 -      setRNew1tRInOut1t();
    1.27 +      initOrder();
    1.28 +      initRNew1tRInOut1t();
    1.29  
    1.30        //reset mapping
    1.31        for(typename G1::NodeIt n(g1);n!=INVALID;++n)