Changeset 1610 for GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
- Timestamp:
- 10/11/06 05:35:33 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
r1588 r1610 582 582 ); 583 583 584 if (0 && localTerminationCriteriaMet) 584 #if _DEBUG 585 if (localTerminationCriteriaMet) 585 586 { 586 587 Debug << "local termination criteria met:" << endl; … … 591 592 Debug << "depth " << data.mDepth << " " << mTermMaxDepth << endl; 592 593 } 593 594 #endif 594 595 return localTerminationCriteriaMet; 595 596 } … … 598 599 inline bool VspTree::GlobalTerminationCriteriaMet(const VspTraversalData &data) const 599 600 { 601 // note: to track for global cost misses does not really 602 // make sense because cost termination happens in the hierarchy mananger 603 600 604 const bool terminationCriteriaMet = (0 601 605 // || mOutOfMemory 602 606 || (mVspStats.Leaves() >= mMaxViewCells) 603 // does not really make sense because cost termination already in hierarchy604 607 // || (mVspStats.mGlobalCostMisses >= mTermGlobalCostMissTolerance) 605 608 ); 606 609 607 if (0 && terminationCriteriaMet) 610 #if _DEBUG 611 if (terminationCriteriaMet) 608 612 { 609 613 Debug << "vsp global termination criteria met:" << endl; … … 611 615 Debug << "leaves: " << mVspStats.Leaves() << " " << mMaxViewCells << endl; 612 616 } 617 #endif 613 618 614 619 return terminationCriteriaMet;
Note: See TracChangeset
for help on using the changeset viewer.