aboutsummaryrefslogtreecommitdiff
path: root/npdistortion.h
diff options
context:
space:
mode:
Diffstat (limited to 'npdistortion.h')
-rw-r--r--npdistortion.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/npdistortion.h b/npdistortion.h
new file mode 100644
index 0000000..a70616d
--- /dev/null
+++ b/npdistortion.h
@@ -0,0 +1,16 @@
+#ifndef NPDISTORTION_H
+#define NPDISTORTION_H
+
+#include "distortionmeasure.h"
+
+class NPDistortion : public DistortionMeasure
+{
+public:
+ NPDistortion(int k = 10);
+ arma::vec measure(const arma::mat &distA, const arma::mat &distB);
+
+private:
+ int m_k;
+};
+
+#endif // NPDISTORTION_H