using System.Collections; namespace Common.Distance; public interface IDistanceComparer { /// /// The calculated absolute distance between /// and /// /// public double Distance { get; } } public interface IDistanceComparer : IDistanceComparer where T : IEnumerable { /// /// The comparison reference, meaning the "known to be correct" value /// public T Reference { get; } /// /// The value hypothesis, whose correctness is checked against /// public T? Hypothesis { get; } }