Updated results and report

This commit is contained in:
Simon Gruber
2024-01-08 16:45:35 +01:00
parent 6c554e444f
commit 74619876c2
1130 changed files with 370 additions and 364 deletions
@@ -47,7 +47,6 @@ public readonly struct ProcessorStat : IDistanceComparer<IEnumerable<string>>
) / reference.Count;
Words = GetDistanceInfos(reference, hypothesis).ToArray();
// Words = reference.Select(r => GetDistanceInfo(r, hypothesis)).ToArray();
}
@@ -66,8 +65,7 @@ public readonly struct ProcessorStat : IDistanceComparer<IEnumerable<string>>
foreach (var reference in referenceCollection)
{
var tResults = hypothesisCollection
.Select(hypothesis => new DistanceComparer<string>(reference, hypothesis))
.Cast<IDistanceComparer<string>>()
.Select(hypothesis => (IDistanceComparer<string>)new DistanceComparer<string>(reference, hypothesis))
.ToList();
results.AddRange(tResults);