Skip to content

Release 0.4

Choose a tag to compare

@BotMaster3000 BotMaster3000 released this 12 Apr 19:28
· 2 commits to master since this release

Replaced Dictionary with List<KeyValuePair<IWeightedNetwork, double>> because Dictionary is implementing a Hash-Table that sometimes reorders the keys, so the Networks, so that when trying to access the networks they could be returned in random order. This is prevented now with using List.

Fixed Inbuilt Fitness-Calculation so that the Expected is now subtracted from the output instead of added, which stops making negative values good where positive numbers are wished (-0.99999 was as good as 0.99999 even though 1 was wished)

Fixed FitnessBasedPoolGenerator so that Networks with 0 fitness are ignored to stop infinite loops when trying to multiplicate until bigger than 1