Changeset 12023 for branches/HeuristicLab.Problems.GrammaticalOptimization
- Timestamp:
- 02/17/15 16:02:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.GeneticProgramming/OffspringSelectionGP.cs
r11895 r12023 18 18 public int MaxSolutionSize { get; set; } 19 19 public int MaxSolutionDepth { get; set; } 20 public double ComparisonFactorLowerBound { get; set; } 20 21 21 22 private readonly ISymbolicExpressionTreeProblem problem; … … 31 32 MaxSolutionSize = 100; 32 33 MaxSolutionDepth = 17; 34 ComparisonFactorLowerBound = 1.0; 33 35 this.saveAlg = saveAlg; 34 36 } … … 81 83 osga.MutationProbability.Value = MutationRate; 82 84 osga.ComparisonFactorLowerBound.Value = 1.0; 83 osga.ComparisonFactorUpperBound.Value = 1.0;85 osga.ComparisonFactorUpperBound.Value = ComparisonFactorLowerBound; 84 86 osga.SuccessRatio.Value = 1.0; 85 87 … … 90 92 osga.Start(); 91 93 92 wh.WaitOne(); 93 94 wh.Dispose(); 94 95 95 96 if (saveAlg) {
Note: See TracChangeset
for help on using the changeset viewer.