Changeset 1065 for trunk/sources/HeuristicLab.GP/Recombination
- Timestamp:
- 12/25/08 13:21:37 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP/Recombination/StandardCrossOver.cs
r835 r1065 62 62 IList<IFunction> allowedFunctions = gardener.GetAllowedSubFunctions(parent0.Function, replacedChildIndex); 63 63 allowedCrossoverPoints = GetPossibleCrossoverPoints(gardener, tree1, maxInsertedBranchSize, maxInsertedBranchHeight, allowedFunctions); 64 } while(allowedCrossoverPoints.Count == 0 || tries++ >MAX_RECOMBINATION_TRIES);64 } while(allowedCrossoverPoints.Count == 0 && tries++ < MAX_RECOMBINATION_TRIES); 65 65 66 66 if(allowedCrossoverPoints.Count > 0) {
Note: See TracChangeset
for help on using the changeset viewer.