Changeset 812 for trunk/sources/HeuristicLab.GP/Recombination
- Timestamp:
- 11/24/08 22:42:20 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP/Recombination/OnePointCrossOver.cs
r809 r812 110 110 } 111 111 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; 119 114 } 120 115 class CrossoverPoint {
Note: See TracChangeset
for help on using the changeset viewer.