Ignore:
Timestamp:
10/11/06 05:35:33 (18 years ago)
Author:
mattausch
Message:

removed vsposp bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp

    r1588 r1610  
    582582                ); 
    583583 
    584         if (0 && localTerminationCriteriaMet) 
     584#if _DEBUG 
     585        if (localTerminationCriteriaMet) 
    585586        { 
    586587                Debug << "local termination criteria met:" << endl; 
     
    591592                Debug << "depth " << data.mDepth << " " << mTermMaxDepth << endl; 
    592593        } 
    593  
     594#endif 
    594595        return localTerminationCriteriaMet;              
    595596} 
     
    598599inline bool VspTree::GlobalTerminationCriteriaMet(const VspTraversalData &data) const 
    599600{ 
     601        // note: to track for global cost misses does not really  
     602        // make sense because cost termination  happens in the hierarchy mananger 
     603 
    600604        const bool terminationCriteriaMet = (0 
    601605                // || mOutOfMemory 
    602606                || (mVspStats.Leaves() >= mMaxViewCells) 
    603                 // does not really make sense because cost termination already in hierarchy 
    604607                // || (mVspStats.mGlobalCostMisses >= mTermGlobalCostMissTolerance)  
    605608                ); 
    606609 
    607         if (0 && terminationCriteriaMet) 
     610#if _DEBUG 
     611        if (terminationCriteriaMet) 
    608612        { 
    609613                Debug << "vsp global termination criteria met:" << endl; 
     
    611615                Debug << "leaves: " << mVspStats.Leaves() << " " <<  mMaxViewCells << endl; 
    612616        } 
     617#endif 
    613618 
    614619        return terminationCriteriaMet; 
Note: See TracChangeset for help on using the changeset viewer.