Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.1 DD-00006-011

7.3 Hausdorff distance

T hausdorff_distance(const kaucher_interval<T>& a, const kaucher_interval<T>& b); 
T hausdorff_distance_error(const kaucher_interval<T>& a, const kaucher_interval<T>& b);

hausdorff_distance(const kaucher_interval<T>&, const kaucher_interval<T>&)


Computes the hausdorff distance between the two given Kaucher intervals A,B∈ KR  , as defined as:

                    ----
dH(A,B) = max{|b-a-|,|b-a |}
hausdorff_distance_error(const kaucher_interval<T>&, const kaucher_interval<T>&)


Computes the hausdorff distance error between the two given Kaucher intervals A,B ∈KR  , as defined as:

dHe = dH(A,B)
       a-a--