Probabilistic approximation of metric spaces and its algorithmic applications | Synapse