blob: 7a488544a9b835a96508adceab32ec4d0ea5766c [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001drop dataverse test if exists;
2create dataverse test;
3use dataverse test;
4
alexander.behmc576c602012-07-06 02:41:15 +00005write output to nc1:"rttest/similarity_similarity-jaccard-prefix-check.adm";
vinayakb38b7ca42012-03-05 05:44:15 +00006
7for $l in [1]
8return [
9 similarity-jaccard-prefix-check(3, [1, 2, 3], 3, [1, 2, 3], 1, 1f),
vinayakb38b7ca42012-03-05 05:44:15 +000010 similarity-jaccard-prefix-check(3, [1, 2, 3], 3, [1, 2, 4], 1, .5f),
11 similarity-jaccard-prefix-check(3, [1, 2, 3], 3, [1, 2, 4], 1, .6f),
vinayakb38b7ca42012-03-05 05:44:15 +000012 similarity-jaccard-prefix-check(3, [1, 2, 3], 9, [1, 2, 3], 1, .5f),
vinayakb38b7ca42012-03-05 05:44:15 +000013 similarity-jaccard-prefix-check(4, [1, 2, 3, 4], 2, [1, 2], 1, .5f),
14 similarity-jaccard-prefix-check(4, [1, 2, 3, 4], 4, [1, 2], 1, .33f)
15]