Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.0 DD-00006-010

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:

d  (A,B)= max{|b-a |,|b-a-|}
  H           -- --
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:

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