Changeset 3172


Ignore:
Timestamp:
03/22/10 14:16:25 (9 years ago)
Author:
abeham
Message:

Fixed SimulatedBinaryCrossover and name of MichalewiczNonUniformAllPositionsManipulator #890

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  
    7878            beta = Math.Pow(2 * u, 1.0 / (contiguity.Value + 1));
    7979          } 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));
    8181          } else if (u == 0.5)
    8282            beta = 1;
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/MichalewiczNonUniformAllPositionsManipulator.cs

    r3123 r3172  
    3434  /// It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.
    3535  /// </remarks>
    36   [Item("MichalewiczNonUniformOnePositionManipulator", "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.")]
    3737  [StorableClass]
    3838  public class MichalewiczNonUniformAllPositionsManipulator : RealVectorManipulator {
Note: See TracChangeset for help on using the changeset viewer.