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

5.3 Hausdorff distance

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

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


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

d  (A,B)= max{|b-a |,|b-a-|}
  H           -- --
hausdorff_distance_error(const interval<T>&, const interval<T>&)


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

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