Changeset 1089
- Timestamp:
- Feb 14, 2008, 3:37:12 PM (16 years ago)
- Location:
- trunk/yat
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/NCC.h
r1076 r1089 37 37 #include "yat/statistics/Averager.h" 38 38 #include "yat/statistics/AveragerWeighted.h" 39 #include "yat/utility/Iterator.h"40 #include "yat/utility/IteratorWeighted.h"41 39 #include "yat/utility/matrix.h" 42 40 #include "yat/utility/vector.h" -
trunk/yat/utility/iterator_traits.h
r1088 r1089 25 25 */ 26 26 27 #include "IteratorWeighted.h"28 29 27 namespace theplu { 30 28 namespace yat { … … 49 47 }; 50 48 51 /// All iterators should default to unweighted type ... 49 /** 50 All iterators default to unweighted type 51 52 \see Iterator and StrideIterator 53 */ 52 54 template <class T> 53 55 struct weighted_iterator_traits { 54 56 typedef unweighted_type type; 55 };56 57 /// but specialized to return weighted type for some things58 //59 // if you add a new weighted iterator, add a new specialization like60 // this one.61 template <class U, class V>62 struct weighted_iterator_traits<yat::utility::IteratorWeighted<U,V> > {63 typedef weighted_type type;64 57 }; 65 58
Note: See TracChangeset
for help on using the changeset viewer.