Ignore:
Timestamp:
Feb 4, 2008, 4:44:44 PM (15 years ago)
Author:
Markus Ringnér
Message:

Fixes #272

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/pearson_distance.h

    r1030 r1031  
    1 #ifndef theplu_yat_statistics_pearson_vector_distance_h
    2 #define theplu_yat_statistics_pearson_vector_distance_h
     1#ifndef theplu_yat_statistics_pearson_distance_h
     2#define theplu_yat_statistics_pearson_distance_h
    33
    44// $Id$
     
    2525*/
    2626
    27 #include "vector_distance.h"
     27#include "distance.h"
    2828
    2929#include "AveragerPair.h"
     
    4040  /// the Pearson distance measure.
    4141  ///
    42   struct pearson_vector_distance_tag
    43     : public vector_distance_tag
     42  struct pearson_distance_tag
     43    : public distance_tag
    4444  {
    4545    /// \brief tag for pearson distance
    46     typedef pearson_vector_distance_tag distance;
     46    typedef pearson_distance_tag distance;
    4747  };
    4848
     
    5454  ///
    5555  template <class Iter>
    56   double vector_distance(Iter beg1,Iter end1, Iter beg2,
    57                          const pearson_vector_distance_tag& disttype,
     56  double distance(Iter beg1,Iter end1, Iter beg2,
     57                         const pearson_distance_tag& disttype,
    5858                         utility::unweighted_type)
    5959  {
     
    6969  ///
    7070  template <class Iter>
    71   double vector_distance(Iter beg1,Iter end1, Iter beg2,
    72                          const pearson_vector_distance_tag& disttype,
     71  double distance(Iter beg1,Iter end1, Iter beg2,
     72                         const pearson_distance_tag& disttype,
    7373                         utility::weighted_type)
    7474  {
Note: See TracChangeset for help on using the changeset viewer.