Menu

#2 Two little bugs

Release_1.2
open
nobody
None
5
2013-11-14
2013-11-14
No

Hi, using the library I figured out the following little bugs:

1) when using more objective functions to maximize (or minimize). Creating the Fitness with the constructor

 Fitness(int numberOfObjFunctions, boolean maximize)

the boolean maximize is in inverted logic, so that constructing the object with true will minimize and with false maximize;

2) when evaluating the first generation.
Referring to the schema of the algorithm structure at http://jenes.intelligentia.it/tutorials/anotomy (the name of the page should be correct too) the first evaluation seems not to work on the nextPopulation as it happens in the next evaluations. So that the getNextPopulation() returns always null.

Thank you for your hard work.
Regards.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB