Function dim_red::getMetricByName

Function Documentation

Metric dim_red::getMetricByName(const std::string &name)

Returns the function for the metric with the specified name.

Parameters

name – the name of the metric.

Throws

std::invalid_argument – if the metric is unknown.

Returns

the corresponding function.