pub type ProximityAlgorithm<N> = Box<dyn ProximityDetector<N>>;
struct ProximityAlgorithm<N>(/* private fields */);