Ignore:
Timestamp:
10/23/06 20:24:14 (18 years ago)
Author:
mattausch
Message:

updated priority meaurement: taking total cost and memory into account

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/FlexibleHeap.h

    r1313 r1667  
    2424 
    2525        inline void  SetPriority(const float k) { mPriority = k; } 
    26         inline float GetPriority() const  { return mPriority; } 
    27  
     26        //inline float GetPriority() const  { return mPriority; } 
     27        virtual float GetPriority() const = 0; 
    2828protected: 
    2929 
     
    5454        unsigned int Size() const { return (unsigned int)mBuffer.size(); } 
    5555        bool Empty() const {return mBuffer.empty(); } 
    56         T Item(const unsigned int i)       { return mBuffer[i]; } 
     56        T Item(const unsigned int i) { return mBuffer[i]; } 
    5757        const T Item(const unsigned int i) const { return mBuffer[i]; } 
    5858        T Pop(); 
Note: See TracChangeset for help on using the changeset viewer.