Changeset 3172
- Timestamp:
- 03/22/10 14:16:25 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/SimulatedBinaryCrossover.cs
r3060 r3172 78 78 beta = Math.Pow(2 * u, 1.0 / (contiguity.Value + 1)); 79 79 } else if (u > 0.5) { // otherwise perform an expanding crossover 80 beta = Math.Pow( 1.0 / (2 - 2 * u),(contiguity.Value + 1));80 beta = Math.Pow(0.5 / (1.0 - u), 1.0 / (contiguity.Value + 1)); 81 81 } else if (u == 0.5) 82 82 beta = 1; -
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformAllPositionsManipulator.cs
r3123 r3172 34 34 /// It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg. 35 35 /// </remarks> 36 [Item("MichalewiczNonUniform OnePositionManipulator", "It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")]36 [Item("MichalewiczNonUniformAllPositionsManipulator", "It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")] 37 37 [StorableClass] 38 38 public class MichalewiczNonUniformAllPositionsManipulator : RealVectorManipulator {
Note: See TracChangeset
for help on using the changeset viewer.