Change misleading method name in Vf2pp (#597)
authorPeter Kovacs <kpeter@inf.elte.hu>
Sat, 07 Oct 2017 16:22:04 +0200
changeset 14123ca508482e4c
parent 1411 b79ff94e27d9
child 1413 e68f0ef37e77
Change misleading method name in Vf2pp (#597)

It processes an entire connected component of the graph _g1 using BFS,
so processBfsTree() is more appropriate name than processBFSLevel().
lemon/vf2pp.h
     1.1 --- a/lemon/vf2pp.h	Sat Oct 07 16:17:34 2017 +0200
     1.2 +++ b/lemon/vf2pp.h	Sat Oct 07 16:22:04 2017 +0200
     1.3 @@ -272,7 +272,7 @@
     1.4        }
     1.5      }
     1.6  
     1.7 -    void processBFSLevel(typename G1::Node source,unsigned int& orderIndex,
     1.8 +    void processBfsTree(typename G1::Node source,unsigned int& orderIndex,
     1.9                           typename G1::template NodeMap<int>& dm1,
    1.10                           typename G1::template NodeMap<bool>& added) {
    1.11        _order[orderIndex]=source;
    1.12 @@ -342,7 +342,7 @@
    1.13                                               _labelTmp1[_intLabels1[minNode]]==
    1.14                                               _labelTmp1[_intLabels1[n1]])))
    1.15                minNode=n1;
    1.16 -          processBFSLevel(minNode,orderIndex,dm1,added);
    1.17 +          processBfsTree(minNode,orderIndex,dm1,added);
    1.18          }
    1.19          else
    1.20            ++n;