Changeset 5809 for trunk/sources/HeuristicLab.Problems.Knapsack
- Timestamp:
- 03/23/11 01:09:38 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3
- Property svn:ignore
-
old new 3 3 bin 4 4 obj 5 *.vs10x
-
- Property svn:ignore
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r5445 r5809 37 37 [Creatable("Problems")] 38 38 [StorableClass] 39 public sealed class KnapsackProblem : ParameterizedNamedItem, ISingleObjective Problem, IStorableContent {39 public sealed class KnapsackProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 40 40 public string Filename { get; set; } 41 41 … … 48 48 get { return (ValueParameter<BoolValue>)Parameters["Maximization"]; } 49 49 } 50 IParameter ISingleObjective Problem.MaximizationParameter {50 IParameter ISingleObjectiveHeuristicOptimizationProblem.MaximizationParameter { 51 51 get { return MaximizationParameter; } 52 52 } … … 66 66 get { return (ValueParameter<IBinaryVectorCreator>)Parameters["SolutionCreator"]; } 67 67 } 68 IParameter I Problem.SolutionCreatorParameter {68 IParameter IHeuristicOptimizationProblem.SolutionCreatorParameter { 69 69 get { return SolutionCreatorParameter; } 70 70 } … … 72 72 get { return (ValueParameter<IKnapsackEvaluator>)Parameters["Evaluator"]; } 73 73 } 74 IParameter I Problem.EvaluatorParameter {74 IParameter IHeuristicOptimizationProblem.EvaluatorParameter { 75 75 get { return EvaluatorParameter; } 76 76 } … … 78 78 get { return (OptionalValueParameter<DoubleValue>)Parameters["BestKnownQuality"]; } 79 79 } 80 IParameter ISingleObjective Problem.BestKnownQualityParameter {80 IParameter ISingleObjectiveHeuristicOptimizationProblem.BestKnownQualityParameter { 81 81 get { return BestKnownQualityParameter; } 82 82 } … … 107 107 set { SolutionCreatorParameter.Value = value; } 108 108 } 109 ISolutionCreator I Problem.SolutionCreator {109 ISolutionCreator IHeuristicOptimizationProblem.SolutionCreator { 110 110 get { return SolutionCreatorParameter.Value; } 111 111 } … … 114 114 set { EvaluatorParameter.Value = value; } 115 115 } 116 ISingleObjectiveEvaluator ISingleObjective Problem.Evaluator {116 ISingleObjectiveEvaluator ISingleObjectiveHeuristicOptimizationProblem.Evaluator { 117 117 get { return EvaluatorParameter.Value; } 118 118 } 119 IEvaluator I Problem.Evaluator {119 IEvaluator IHeuristicOptimizationProblem.Evaluator { 120 120 get { return EvaluatorParameter.Value; } 121 121 }
Note: See TracChangeset
for help on using the changeset viewer.