Trait opendp::core::Measure

source ·
pub trait Measure: Default + Clone + PartialEq + Debug + Send + Sync {
    type Distance;
}
Expand description

A representation of the distance between two distributions.

§Proof Definition

A type Self has an implementation for Measure iff it can represent a measure for quantifying distances between distributions.

Required Associated Types§

source

type Distance

§Proof Definition

Self::Distance is a type that represents distances in terms of a measure Self.

Object Safety§

This trait is not object safe.

Implementors§