Merge MK 265:266: Some new functions (coming with NES tests) - missing adaption

This commit is contained in:
Marcel Kronfeld 2009-04-02 09:46:26 +00:00
parent 3f4d270524
commit c68d95f93e

View File

@ -139,7 +139,7 @@ public class CrossoverESUNDX implements InterfaceCrossover, java.io.Serializable
for (int i = 0; i < given.size(); i++) completeList.add(given.get(i));
while (completeList.size() < mean.length) {
tmpVec = RNG.gaussianVector(mean.length, 1.);
tmpVec = RNG.gaussianVector(mean.length, 1., true);
if (Mathematics.isValidVec(tmpVec)) {
// apply the infamous Gram-Schmidt
for (int j = 0; j < completeList.size(); j++) {