Files
managing-apps/src/Managing.Domain/Backtests/GeneticAlgorithmResult.cs
2025-07-10 21:33:24 +07:00

27 lines
712 B
C#

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;
}