Start impl for genetic

This commit is contained in:
2025-07-10 21:33:24 +07:00
parent 0b4f2173e0
commit 2fc7a1d4bb
8 changed files with 302 additions and 134 deletions

View File

@@ -0,0 +1,27 @@
namespace Managing.Domain.Backtests;
/// <summary>
/// Represents the result of a genetic algorithm run
/// </summary>
public class GeneticAlgorithmResult
{
/// <summary>
/// The best fitness score achieved
/// </summary>
public double BestFitness { get; set; }
/// <summary>
/// The best individual (chromosome) found
/// </summary>
public string BestIndividual { get; set; } = string.Empty;
/// <summary>
/// Progress information as JSON string
/// </summary>
public string ProgressInfo { get; set; } = string.Empty;
/// <summary>
/// When the algorithm completed
/// </summary>
public DateTime CompletedAt { get; set; } = DateTime.UtcNow;
}