Changeset 12366 for branches/TerminationCriteria/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm
- Timestamp:
- 04/29/15 17:04:43 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TerminationCriteria/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs
r12364 r12366 490 490 qualityTerminationCriterion.Name = maximization ? "Maximum Quality" : "Minimum Quality"; 491 491 qualityTerminationCriterion.Comparison = new Comparison(maximization ? ComparisonType.GreaterOrEqual : ComparisonType.LessOrEqual); 492 qualityTerminationCriterion. LeftSideParameter.ActualName = qualityAnalyzer.CurrentBestQualityParameter.Name;493 qualityTerminationCriterion. RightSideParameter.Value = new DoubleValue(maximization ? double.MaxValue : double.MinValue);492 qualityTerminationCriterion.ValueParameter.ActualName = qualityAnalyzer.CurrentBestQualityParameter.Name; 493 qualityTerminationCriterion.ThresholdParameter.Value = new DoubleValue(maximization ? double.MaxValue : double.MinValue); 494 494 } 495 495 }
Note: See TracChangeset
for help on using the changeset viewer.