Changeset 3071
- Timestamp:
- 03/16/10 18:16:42 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/Knapsack.cs
r3070 r3071 73 73 get { return EvaluatorParameter; } 74 74 } 75 public OptionalValueParameter<DoubleValue> BestKnownQualityParameter { 76 get { return (OptionalValueParameter<DoubleValue>)Parameters["BestKnownQuality"]; } 77 } 75 78 #endregion 76 79 … … 92 95 IEvaluator IProblem.Evaluator { 93 96 get { return EvaluatorParameter.Value; } 97 } 98 public DoubleValue BestKnownQuality { 99 get { return BestKnownQualityParameter.Value; } 100 set { BestKnownQualityParameter.Value = value; } 94 101 } 95 102 private List<IBinaryVectorOperator> operators; … … 113 120 Parameters.Add(new ValueParameter<IBinaryVectorCreator>("SolutionCreator", "The operator which should be used to create new Knapsack solutions.", creator)); 114 121 Parameters.Add(new ValueParameter<IKnapsackEvaluator>("Evaluator", "The operator which should be used to evaluate Knapsack solutions.", evaluator)); 122 Parameters.Add(new OptionalValueParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution of this Knapsack instance.")); 115 123 116 124 creator.BinaryVectorParameter.ActualName = "KnapsackSolution";
Note: See TracChangeset
for help on using the changeset viewer.