Changeset 1508 for trunk/yat


Ignore:
Timestamp:
Sep 17, 2008, 2:12:39 PM (13 years ago)
Author:
Peter
Message:

refs #437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/normalizer/Spearman.h

    r1507 r1508  
    7676    }
    7777
     78
     79    // weighted version
     80    template<typename InputIterator, typename RandomAccessIterator>
     81    RandomAccessIterator normalize(InputIterator first, InputIterator last,
     82                                   RandomAccessIterator result,
     83                                   utility::weighted_iterator_tag) const
     84    {
     85      return result + std::distance(first, last);
     86    }
     87
    7888  };
    7989
Note: See TracChangeset for help on using the changeset viewer.