Make a Transformation that converts the unbounded dataset metric MI
to the respective bounded dataset metric with a no-op.
Details
The constructor enforces that the input domain has known size, because it must have known size to be valid under a bounded dataset metric.
MI | MI::BoundedMetric |
SymmetricDistance | ChangeOneDistance |
InsertDeleteDistance | HammingDistance |
make_metric_bounded in Rust documentation.
Supporting Elements:
Input Domain:
D
Output Domain:
D
Input Metric:
MI
Output Metric:
MI::BoundedMetric