aboutsummaryrefslogtreecommitdiff
path: root/npdistortion.h
blob: a84f63a1708c5bff7d76c65259513608fd1cef92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef NPDISTORTION_H
#define NPDISTORTION_H

#include "distortionobserver.h"

class NPDistortion : public DistortionObserver
{
public:
    NPDistortion(const arma::mat &X, const arma::uvec &sampleIndices, int k = 10);

protected:
    arma::vec measureFunc(const arma::mat &distA, const arma::mat &distB);

private:
    int m_k;
};

#endif // NPDISTORTION_H