bisec-tree icon indicating copy to clipboard operation
bisec-tree copied to clipboard

add function to brute force test the distance function

Open UnixJunkie opened this issue 5 years ago • 1 comments

To try finding a counter example to the triangular inequality when you have doubts about the distance function

UnixJunkie avatar Jan 15 '19 02:01 UnixJunkie

val test_distance: int -> P.t array -> (P.t, P.t, P.t) option

[test_distance nb_tests points] return None if no violation was found, Some (x, y, z) else

UnixJunkie avatar Jan 15 '19 02:01 UnixJunkie