Add progression and new method of selection/mutation/crossover
This commit is contained in:
@@ -22,6 +22,8 @@ public interface IGeneticService
|
||||
/// <param name="generations">The number of generations to evolve</param>
|
||||
/// <param name="mutationRate">The mutation rate (0.0 - 1.0)</param>
|
||||
/// <param name="selectionMethod">The selection method to use</param>
|
||||
/// <param name="crossoverMethod">The crossover method to use</param>
|
||||
/// <param name="mutationMethod">The mutation method to use</param>
|
||||
/// <param name="elitismPercentage">The percentage of elite individuals to preserve</param>
|
||||
/// <param name="maxTakeProfit">The maximum take profit percentage</param>
|
||||
/// <param name="eligibleIndicators">The list of eligible indicators</param>
|
||||
@@ -37,6 +39,8 @@ public interface IGeneticService
|
||||
int generations,
|
||||
double mutationRate,
|
||||
GeneticSelectionMethod selectionMethod,
|
||||
GeneticCrossoverMethod crossoverMethod,
|
||||
GeneticMutationMethod mutationMethod,
|
||||
int elitismPercentage,
|
||||
double maxTakeProfit,
|
||||
List<IndicatorType> eligibleIndicators);
|
||||
|
||||
@@ -24,4 +24,5 @@ public interface IMessengerService
|
||||
Task SendNewTopFundingRate(FundingRate newRate);
|
||||
Task SendFundingRateUpdate(FundingRate oldRate, FundingRate newRate);
|
||||
Task SendBacktestNotification(Backtest backtest);
|
||||
Task SendGeneticAlgorithmNotification(GeneticRequest request, double bestFitness, object? bestChromosome);
|
||||
}
|
||||
Reference in New Issue
Block a user