- Timestamp:
- 08/03/12 11:09:17 (12 years ago)
- Location:
- branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/ExpressionEvaluator.cs
r8385 r8406 1 1 #region License Information 2 3 2 /* HeuristicLab 4 3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 19 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 19 */ 21 22 20 #endregion 23 21 -
branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/HeuristicLab.Algorithms.RAPGA-3.3.csproj
r8385 r8406 104 104 <Compile Include="OffspringRestorer.cs" /> 105 105 <Compile Include="ProgressiveOffspringPreserver.cs" /> 106 <Compile Include="SimilarityCalculator\BlindSimilarityCalculator.cs" /> 107 <Compile Include="SimilarityCalculator\QualitySimilarityCalculator.cs" /> 106 108 <Compile Include="RAPGA.cs" /> 107 109 <Compile Include="RAPGAMainLoop.cs" /> -
branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/OffspringRestorer.cs
r8377 r8406 1 1 #region License Information 2 3 2 /* HeuristicLab 4 3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 19 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 19 */ 21 22 20 #endregion 23 21 -
branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/ProgressiveOffspringPreserver.cs
r8377 r8406 1 1 #region License Information 2 3 2 /* HeuristicLab 4 3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 19 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 19 */ 21 22 20 #endregion 23 21 -
branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/RAPGA.cs
r8385 r8406 322 322 base.Problem_OperatorsChanged(sender, e); 323 323 } 324 void BatchSizeParameter_ValueChanged(object sender, EventArgs e) { 324 private void SimilarityCalculatorParameter_ValueChanged(object sender, EventArgs e) { 325 ParameterizeRAPGAMainLoop(); 326 } 327 private void BatchSizeParameter_ValueChanged(object sender, EventArgs e) { 325 328 BatchSize.ValueChanged += new EventHandler(BatchSize_ValueChanged); 326 329 ParameterizeSelectors(); 327 330 } 328 void BatchSize_ValueChanged(object sender, EventArgs e) {331 private void BatchSize_ValueChanged(object sender, EventArgs e) { 329 332 ParameterizeSelectors(); 330 333 } … … 359 362 BatchSizeParameter.ValueChanged += new EventHandler(BatchSizeParameter_ValueChanged); 360 363 BatchSize.ValueChanged += new EventHandler(BatchSize_ValueChanged); 364 SimilarityCalculatorParameter.ValueChanged += new EventHandler(SimilarityCalculatorParameter_ValueChanged); 361 365 if (Problem != null) { 362 366 Problem.Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged); … … 472 476 ISolutionSimilarityCalculator defaultSimilarityCalculator = Problem.Operators.OfType<ISolutionSimilarityCalculator>().FirstOrDefault(); 473 477 478 SimilarityCalculatorParameter.ValidValues.Add(new BlindSimilarityCalculator()); 479 SimilarityCalculatorParameter.ValidValues.Add(new QualitySimilarityCalculator()); 480 474 481 foreach (ISolutionSimilarityCalculator similarityCalculator in Problem.Operators.OfType<ISolutionSimilarityCalculator>()) 475 482 SimilarityCalculatorParameter.ValidValues.Add(similarityCalculator);
Note: See TracChangeset
for help on using the changeset viewer.