Merge MK 265:266: Some new functions (coming with NES tests) - missing adaption
This commit is contained in:
parent
3f4d270524
commit
c68d95f93e
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user