Closed sikora507 closed 5 years ago
I've added new chromosome capable of storing values between min and max value for any given number of bits. For example If we want to store values between -5 and 5 in 3 bits, we have 2^3 = 8 values available. That way [0, 0, 0] will be minimum value (-5) and [1, 1, 1] maximum value(5). [0, 0, 1] will become -3,75 [0, 1, 0] will become -2,5 and so on, up to [1, 1, 1] = 5
Closing it because of 6 months of inactive. If in any moment the points from https://github.com/giacomelli/GeneticSharp/pull/35#pullrequestreview-161407626 was solved, please fell free to re-open it.
…tween min/max for any given number of bits (more bits, greater precision)