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 |
Required features: contrib
make_metric_bounded in Rust documentation.
Supporting Elements:
Input Domain:
DOutput Domain:
MIInput Metric:
DOutput Metric:
MI::BoundedMetric