- Timestamp:
- 03/01/11 14:33:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r5445 r5578 38 38 [Creatable("Problems")] 39 39 [StorableClass] 40 public sealed class TravelingSalesmanProblem : ParameterizedNamedItem, ISingleObjective Problem, IStorableContent {40 public sealed class TravelingSalesmanProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 41 41 public string Filename { get; set; } 42 42 … … 49 49 get { return (ValueParameter<BoolValue>)Parameters["Maximization"]; } 50 50 } 51 IParameter ISingleObjective Problem.MaximizationParameter {51 IParameter ISingleObjectiveHeuristicOptimizationProblem.MaximizationParameter { 52 52 get { return MaximizationParameter; } 53 53 } … … 64 64 get { return (ValueParameter<IPermutationCreator>)Parameters["SolutionCreator"]; } 65 65 } 66 IParameter I Problem.SolutionCreatorParameter {66 IParameter IHeuristicOptimizationProblem.SolutionCreatorParameter { 67 67 get { return SolutionCreatorParameter; } 68 68 } … … 70 70 get { return (ValueParameter<ITSPEvaluator>)Parameters["Evaluator"]; } 71 71 } 72 IParameter I Problem.EvaluatorParameter {72 IParameter IHeuristicOptimizationProblem.EvaluatorParameter { 73 73 get { return EvaluatorParameter; } 74 74 } … … 76 76 get { return (OptionalValueParameter<DoubleValue>)Parameters["BestKnownQuality"]; } 77 77 } 78 IParameter ISingleObjective Problem.BestKnownQualityParameter {78 IParameter ISingleObjectiveHeuristicOptimizationProblem.BestKnownQualityParameter { 79 79 get { return BestKnownQualityParameter; } 80 80 } … … 101 101 set { SolutionCreatorParameter.Value = value; } 102 102 } 103 ISolutionCreator I Problem.SolutionCreator {103 ISolutionCreator IHeuristicOptimizationProblem.SolutionCreator { 104 104 get { return SolutionCreatorParameter.Value; } 105 105 } … … 108 108 set { EvaluatorParameter.Value = value; } 109 109 } 110 ISingleObjectiveEvaluator ISingleObjective Problem.Evaluator {110 ISingleObjectiveEvaluator ISingleObjectiveHeuristicOptimizationProblem.Evaluator { 111 111 get { return EvaluatorParameter.Value; } 112 112 } 113 IEvaluator I Problem.Evaluator {113 IEvaluator IHeuristicOptimizationProblem.Evaluator { 114 114 get { return EvaluatorParameter.Value; } 115 115 }
Note: See TracChangeset
for help on using the changeset viewer.