Changeset 1409:c89884c1737b in lemon
- Timestamp:
- 10/07/17 15:46:28 (7 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- lemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/vf2.h
r1408 r1409 233 233 } 234 234 235 void setOrder() {235 void initOrder() { 236 236 // we will find pairs for the nodes of g1 in this order 237 237 … … 325 325 326 326 //calculate the lookup table for cutting the search tree 327 void setRNew1tRInOut1t() {327 void initRNew1tRInOut1t() { 328 328 typename G1::template NodeMap<int> tmp(_g1,0); 329 329 for(unsigned int i=0; i<_order.size(); ++i) { … … 361 361 _mapping_type(SUBGRAPH), _deallocMappingAfterUse(0) 362 362 { 363 setOrder();364 setRNew1tRInOut1t();363 initOrder(); 364 initRNew1tRInOut1t(); 365 365 for(typename G1::NodeIt n(g1);n!=INVALID;++n) 366 366 m[n]=INVALID; -
lemon/vf2pp.h
r1408 r1409 353 353 354 354 //we will find pairs for the nodes of g1 in this order 355 void setOrder(){355 void initOrder(){ 356 356 for(typename G2::NodeIt n2(_g2); n2!=INVALID; ++n2) 357 357 ++_labelTmp1[_intLabels2[n2]]; … … 465 465 466 466 //calculate the lookup table for cutting the search tree 467 void setRNew1tRInOut1t(){467 void initRNew1tRInOut1t(){ 468 468 typename G1::template NodeMap<int> tmp(_g1,0); 469 469 for(unsigned int i=0; i<_order.size(); ++i) { … … 538 538 _deallocLabelsAfterUse(0) 539 539 { 540 setOrder();541 setRNew1tRInOut1t();540 initOrder(); 541 initRNew1tRInOut1t(); 542 542 543 543 //reset mapping
Note: See TracChangeset
for help on using the changeset viewer.