Show
Ignore:
Timestamp:
07/23/08 15:55:32 (6 years ago)
Author:
ayu
Message:
  • fixed bug
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/cplusplus/misc/clustercpp/include/ward.h

    r15931 r16131  
    1818  class Ward{ 
    1919    HISTORIES* hist; 
     20    INDEX itemnum; 
    2021 
    2122  private: 
    2223    template < class UPDATOR, class VECTORSTYPE > 
    2324    HISTORIES* cluster(VECTORSTYPE* vectors){ 
     25      itemnum = vectors->size(); 
     26 
    2427      std::clock_t t1,t2; 
    2528      t1 = std::clock(); 
     
    7275    HISTORIES* maxdistcluster(VECTORS* vectors){ return cluster<MaxDistUpdator, VECTORS >(vectors);} 
    7376 
     77    void avgcuttree(double c, std::vector<std::vector<INDEX > >& result); 
     78 
    7479 }; 
    7580