Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/08 22:42:20 (16 years ago)
Author:
gkronber
Message:

removed random child ordering because the order of children doesn't matter in the algorithm. #387

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP/Recombination/OnePointCrossOver.cs

    r809 r812  
    110110      }
    111111
    112       if (random.NextDouble() < 0.5) {
    113         child0 = tree0;
    114         child1 = tree1;
    115       } else {
    116         child0 = tree1;
    117         child1 = tree0;
    118       }
     112      child0 = tree0;
     113      child1 = tree1;
    119114    }
    120115    class CrossoverPoint {
Note: See TracChangeset for help on using the changeset viewer.