verify_identity

Function verify_identity 

Source
pub fn verify_identity<F>(metric: F, x: &[u8], tolerance: f64) -> bool
where F: Fn(&[u8], &[u8]) -> f64,
Expand description

Verify that a distance function d(x,x) is close to 0 (allow for small overhead).