pub type ProximityAlgorithm<N> = Box<dyn ProximityDetector<N>>;