Changeset 15280 for branches/Async/HeuristicLab.Problems.ExternalEvaluation/3.4/ExternalEvaluationProblem.cs
- Timestamp:
- 07/23/17 00:52:14 (7 years ago)
- Location:
- branches/Async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Problems.ExternalEvaluation/3.4/ExternalEvaluationProblem.cs
r13257 r15280 59 59 get { return (IFixedValueParameter<SingleObjectiveOptimizationSupportScript>)Parameters["SupportScript"]; } 60 60 } 61 62 private IFixedValueParameter<BoolValue> MaximizationParameter { 63 get { return (IFixedValueParameter<BoolValue>)Parameters["Maximization"]; } 64 } 61 65 #endregion 62 66 63 67 #region Properties 68 public new IEncoding Encoding { 69 get { return base.Encoding; } 70 set { base.Encoding = value; } 71 } 64 72 public EvaluationCache Cache { 65 73 get { return CacheParameter.Value; } … … 100 108 public override bool Maximization { 101 109 get { return Parameters.ContainsKey("Maximization") && ((IValueParameter<BoolValue>)Parameters["Maximization"]).Value.Value; } 110 } 111 112 public virtual void SetMaximization(bool maximization) { 113 MaximizationParameter.Value.Value = maximization; 102 114 } 103 115
Note: See TracChangeset
for help on using the changeset viewer.