Metric Space (CADETProcess.metric_space)

Metric Space (CADETProcess.metric_space)#

MetricSpace collects named output declarations (Metric) and the problem-level annotations that give them meaning: optimization direction (Objective) and operator/bound constraints (Constraint). Direction and normalization are properties of the registration, not of the metric itself: the same metric can be an objective in one problem and a plain output in another.

Metric(name[, n_metrics, dims, coords, labels])

Declaration of a named output.

MetricSpace()

Collection of metric declarations with problem-level annotations.

Objective(metric[, minimize])

Direction annotation on a metric.

Constraint(metric[, bound, comparison_operator])

Operator/bound annotation on a metric; canonical form is g <= 0.