Changeset 294 for trunk/sources/HeuristicLab.RealVector
- Timestamp:
- 06/05/08 10:24:34 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.RealVector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.RealVector/MichalewiczNonUniformAllPositionsManipulator.cs
r293 r294 68 68 vector[i] = vector[i] - Delta(random, currentGeneration, vector[i] - min, maximumGenerations, generationsDependency); 69 69 } 70 71 // DISCUSS WITH adoppelb72 // if (vector[i] < min) vector[i] = min;73 // else if (vector[i] > max) vector[i] = max;74 70 } 75 76 71 return vector; 77 72 } -
trunk/sources/HeuristicLab.RealVector/MichalewiczNonUniformOnePositionManipulator.cs
r293 r294 68 68 vector[pos] = vector[pos] - Delta(random, currentGeneration, vector[pos] - min, maximumGenerations, generationsDependency); 69 69 } 70 71 // DISCUSS WITH adoppelb72 // if (vector[pos] < min) vector[pos] = min;73 // else if (vector[pos] > max) vector[pos] = max;74 75 70 return vector; 76 71 }
Note: See TracChangeset
for help on using the changeset viewer.