- Timestamp:
- 02/12/15 16:32:37 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/BasicProblems/SingleObjectiveBasicProblem.cs
r11970 r11990 33 33 ISingleObjectiveProblemDefinition, ISingleObjectiveHeuristicOptimizationProblem 34 34 where TEncoding : class, IEncoding { 35 36 protected IValueParameter<DoubleValue> BestKnownQualityParameter { 37 get { return (IValueParameter<DoubleValue>)Parameters["BestKnownQuality"]; } 38 } 39 40 public double BestKnownQuality { 41 get { 42 if (BestKnownQualityParameter.Value == null) return double.NaN; 43 return BestKnownQualityParameter.Value.Value; 44 } 45 set { 46 if (BestKnownQualityParameter.Value == null) BestKnownQualityParameter.Value = new DoubleValue(value); 47 else BestKnownQualityParameter.Value.Value = value; 48 } 49 } 50 35 51 [StorableConstructor] 36 52 protected SingleObjectiveBasicProblem(bool deserializing) : base(deserializing) { }
Note: See TracChangeset
for help on using the changeset viewer.