diff audioDB_API.h @ 768:b9dbe4611dde

Adding Kullback-Leibler divergence as alternate distance function
author mas01mc
date Sat, 15 Oct 2011 17:28:07 +0000
parents b1723ae7675e
children
line wrap: on
line diff
--- a/audioDB_API.h	Thu Jun 02 16:31:44 2011 +0000
+++ b/audioDB_API.h	Sat Oct 15 17:28:07 2011 +0000
@@ -88,6 +88,7 @@
 #define ADB_DISTANCE_DOT_PRODUCT 1
 #define ADB_DISTANCE_EUCLIDEAN_NORMED 2
 #define ADB_DISTANCE_EUCLIDEAN 3
+#define ADB_DISTANCE_KULLBACK_LEIBLER_DIVERGENCE 4
 
 typedef struct adb_query_parameters {
   uint32_t accumulation;