Changeset 1089 for trunk/yat


Ignore:
Timestamp:
Feb 14, 2008, 3:37:12 PM (14 years ago)
Author:
Peter
Message:

removing IteartorWeighted?

Location:
trunk/yat
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/NCC.h

    r1076 r1089  
    3737#include "yat/statistics/Averager.h"
    3838#include "yat/statistics/AveragerWeighted.h"
    39 #include "yat/utility/Iterator.h"
    40 #include "yat/utility/IteratorWeighted.h"
    4139#include "yat/utility/matrix.h"
    4240#include "yat/utility/vector.h"
  • trunk/yat/utility/iterator_traits.h

    r1088 r1089  
    2525*/
    2626
    27 #include "IteratorWeighted.h"
    28 
    2927namespace theplu {
    3028namespace yat {
     
    4947  };
    5048
    51   /// All iterators should default to unweighted type ...
     49  /**
     50      All iterators default to unweighted type
     51
     52      \see Iterator and StrideIterator
     53  */
    5254  template <class T>
    5355  struct weighted_iterator_traits {
    5456    typedef unweighted_type type;
    55   };
    56 
    57   /// but specialized to return weighted type for some things
    58   //
    59   // if you add a new weighted iterator, add a new specialization like
    60   // this one.
    61   template <class U, class V>
    62   struct weighted_iterator_traits<yat::utility::IteratorWeighted<U,V> > {
    63     typedef weighted_type type;
    6457  };
    6558
Note: See TracChangeset for help on using the changeset viewer.