pub fn make_metric_unbounded<D, MI>(
    domain: D
) -> Fallible<Transformation<D, D, MI, MI::UnboundedMetric>>where
    D: IsSizedDomain,
    D::Carrier: Clone,
    MI: BoundedMetric<Distance = IntDistance>,
    (D, MI): MetricSpace,
    (D, MI::UnboundedMetric): MetricSpace,
Expand description

Make a Transformation that converts the bounded dataset metric MI to the respective unbounded dataset metric with a no-op.

MIMI::UnboundedMetric
ChangeOneDistanceSymmetricDistance
HammingDistanceInsertDeleteDistance

Arguments

  • size - Number of records in input data.

Generics

  • D - Domain. The function is a no-op so input and output domains are the same.
  • MI - Input Metric.