giacomelli / GeneticSharp

GeneticSharp is a fast, extensible, multi-platform and multithreading C# Genetic Algorithm library that simplifies the development of applications using Genetic Algorithms (GAs).
MIT License
1.26k stars 330 forks source link

Running optimization on a list of parameters with specific step #112

Open edwardgonen opened 12 months ago

edwardgonen commented 12 months ago

Hi

I'm sure it is a simple question, but being new to GA not sure about the right answer. I have a list of, say, 2 parameters. Each parameter is in a different range. Also within the range I want to specify a step.

For example: Parameter A: minValue 0.1, maxValue 2, step 0.12 Parameter B: minValue 10, maxValue 20, step 3

While I understand the min and max values for each of them, I'm not sure how to specify the step. I guess it has something to do with fractions but, frankly, could not find the right answer

Thanks in advance