Module opendp::core

source ·
Expand description

Core concepts of OpenDP.

This module provides the central building blocks used throughout OpenDP:

  • Measurement
  • Transformation
  • Domain
  • Metric/Measure
  • Function
  • StabilityMap/PrivacyMap

Re-exports

Modules

Structs

Enums

Traits

  • A set which constrains the input or output of a Function.
  • Trait to convert Result into FfiResult<*mut AnyMeasurement>. We can’t do this with From because there’s a blanket implementation of From for FfiResult. We can’t do this with a method on Result because it comes from another crate. So we need a separate trait.
  • Trait to convert Result into FfiResult<*mut AnyTransformation>. We can’t do this with From because there’s a blanket implementation of From for FfiResult. We can’t do this with a method on Result because it comes from another crate. So we need a separate trait.
  • A representation of the distance between two distributions.
  • A representation of the distance between two elements in a set.

Functions