- Timestamp:
- 03/22/10 14:16:25 (15 years ago)
- File:
-
- 1 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;
Note: See TracChangeset
for help on using the changeset viewer.