blob: 859445df6fa43a37408faf50f81d40d6875c0413 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/searchcommon/attribute/distance_metric.h>
#include <vespa/vespalib/stllike/string.h>
namespace search::attribute {
class DistanceMetricUtils {
public:
static vespalib::string to_string(DistanceMetric metric);
static DistanceMetric to_distance_metric(const vespalib::string& metric);
};
}
|