28 lines
918 B
C#
28 lines
918 B
C#
using RobotNet10.NavigationTune.Shared.Interfaces;
|
|
|
|
namespace RobotNet10.NavigationTune.Shared.Models;
|
|
|
|
/// <summary>
|
|
/// Batch test result
|
|
/// </summary>
|
|
public class BatchTestResult
|
|
{
|
|
public Guid BatchId { get; set; } = Guid.NewGuid();
|
|
public NavigationParameterSet Parameters { get; set; } = null!;
|
|
public List<TestExecutionResult> Results { get; set; } = new();
|
|
public int SuccessCount { get; set; }
|
|
public int FailureCount { get; set; }
|
|
public double AverageScore { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Configuration comparison result
|
|
/// </summary>
|
|
public class ComparisonResult
|
|
{
|
|
public TestScenario Scenario { get; set; } = null!;
|
|
public List<NavigationParameterSet> Configurations { get; set; } = new();
|
|
public Dictionary<string, TestExecutionResult> Results { get; set; } = new();
|
|
public string BestConfiguration { get; set; } = string.Empty;
|
|
}
|