You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
C
43 lines
1.4 KiB
C
void test_braycurtis_distance_f32();
|
|
void test_canberra_distance_f32();
|
|
void test_chebyshev_distance_f32();
|
|
void test_cityblock_distance_f32();
|
|
void test_correlation_distance_f32();
|
|
void test_cosine_distance_f32();
|
|
void test_euclidean_distance_f32();
|
|
void test_jensenshannon_distance_f32();
|
|
void test_minkowski_distance_f32();
|
|
|
|
// Pattern IDs
|
|
static const int DIMS_S16_ID=0;
|
|
static const int DIMS_MINKOWSKI_S16_ID=1;
|
|
static const int INPUTA_F32_ID=2;
|
|
static const int INPUTB_F32_ID=3;
|
|
static const int INPUTA_JEN_F32_ID=4;
|
|
static const int INPUTB_JEN_F32_ID=5;
|
|
static const int REF1_F32_ID=6;
|
|
static const int REF2_F32_ID=7;
|
|
static const int REF3_F32_ID=8;
|
|
static const int REF4_F32_ID=9;
|
|
static const int REF5_F32_ID=10;
|
|
static const int REF6_F32_ID=11;
|
|
static const int REF7_F32_ID=12;
|
|
static const int REF8_F32_ID=13;
|
|
static const int REF9_F32_ID=14;
|
|
|
|
// Output IDs
|
|
static const int OUT_F32_ID=0;
|
|
static const int TMPA_F32_ID=1;
|
|
static const int TMPB_F32_ID=2;
|
|
|
|
// Test IDs
|
|
static const int TEST_BRAYCURTIS_DISTANCE_F32_1=1;
|
|
static const int TEST_CANBERRA_DISTANCE_F32_2=2;
|
|
static const int TEST_CHEBYSHEV_DISTANCE_F32_3=3;
|
|
static const int TEST_CITYBLOCK_DISTANCE_F32_4=4;
|
|
static const int TEST_CORRELATION_DISTANCE_F32_5=5;
|
|
static const int TEST_COSINE_DISTANCE_F32_6=6;
|
|
static const int TEST_EUCLIDEAN_DISTANCE_F32_7=7;
|
|
static const int TEST_JENSENSHANNON_DISTANCE_F32_8=8;
|
|
static const int TEST_MINKOWSKI_DISTANCE_F32_9=9;
|