- Timestamp:
- 03/01/11 14:33:18 (14 years ago)
- Location:
- branches/DataAnalysis Refactoring/HeuristicLab.Problems.ArtificialAnt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.ArtificialAnt/3.3/ArtificialAntProblem.cs
r5445 r5578 41 41 [Creatable("Problems")] 42 42 [StorableClass] 43 public sealed class ArtificialAntProblem : ParameterizedNamedItem, ISingleObjective Problem, IStorableContent {43 public sealed class ArtificialAntProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 44 44 public string Filename { get; set; } 45 45 … … 89 89 get { return (ValueParameter<BoolValue>)Parameters["Maximization"]; } 90 90 } 91 IParameter ISingleObjective Problem.MaximizationParameter {91 IParameter ISingleObjectiveHeuristicOptimizationProblem.MaximizationParameter { 92 92 get { return MaximizationParameter; } 93 93 } … … 95 95 get { return (ValueParameter<SymbolicExpressionTreeCreator>)Parameters["SolutionCreator"]; } 96 96 } 97 IParameter I Problem.SolutionCreatorParameter {97 IParameter IHeuristicOptimizationProblem.SolutionCreatorParameter { 98 98 get { return SolutionCreatorParameter; } 99 99 } … … 101 101 get { return (ValueParameter<Evaluator>)Parameters["Evaluator"]; } 102 102 } 103 IParameter I Problem.EvaluatorParameter {103 IParameter IHeuristicOptimizationProblem.EvaluatorParameter { 104 104 get { return EvaluatorParameter; } 105 105 } … … 129 129 get { return (ValueParameter<DoubleValue>)Parameters["BestKnownQuality"]; } 130 130 } 131 IParameter ISingleObjective Problem.BestKnownQualityParameter {131 IParameter ISingleObjectiveHeuristicOptimizationProblem.BestKnownQualityParameter { 132 132 get { return BestKnownQualityParameter; } 133 133 } … … 163 163 set { SolutionCreatorParameter.Value = value; } 164 164 } 165 ISolutionCreator I Problem.SolutionCreator {165 ISolutionCreator IHeuristicOptimizationProblem.SolutionCreator { 166 166 get { return SolutionCreatorParameter.Value; } 167 167 } … … 170 170 set { EvaluatorParameter.Value = value; } 171 171 } 172 ISingleObjectiveEvaluator ISingleObjective Problem.Evaluator {172 ISingleObjectiveEvaluator ISingleObjectiveHeuristicOptimizationProblem.Evaluator { 173 173 get { return EvaluatorParameter.Value; } 174 174 } 175 IEvaluator I Problem.Evaluator {175 IEvaluator IHeuristicOptimizationProblem.Evaluator { 176 176 get { return EvaluatorParameter.Value; } 177 177 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.ArtificialAnt/3.4/ArtificialAntProblem.cs
r5528 r5578 38 38 [Creatable("Problems")] 39 39 [StorableClass] 40 public sealed class ArtificialAntProblem : ParameterizedNamedItem, ISingleObjective Problem, IStorableContent {40 public sealed class ArtificialAntProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 41 41 public string Filename { get; set; } 42 42 … … 86 86 get { return (IValueParameter<BoolValue>)Parameters["Maximization"]; } 87 87 } 88 IParameter ISingleObjective Problem.MaximizationParameter {88 IParameter ISingleObjectiveHeuristicOptimizationProblem.MaximizationParameter { 89 89 get { return MaximizationParameter; } 90 90 } … … 92 92 get { return (IValueParameter<ISymbolicExpressionTreeCreator>)Parameters["SolutionCreator"]; } 93 93 } 94 IParameter I Problem.SolutionCreatorParameter {94 IParameter IHeuristicOptimizationProblem.SolutionCreatorParameter { 95 95 get { return SolutionCreatorParameter; } 96 96 } … … 98 98 get { return (IValueParameter<Evaluator>)Parameters["Evaluator"]; } 99 99 } 100 IParameter I Problem.EvaluatorParameter {100 IParameter IHeuristicOptimizationProblem.EvaluatorParameter { 101 101 get { return EvaluatorParameter; } 102 102 } … … 126 126 get { return (IValueParameter<DoubleValue>)Parameters["BestKnownQuality"]; } 127 127 } 128 IParameter ISingleObjective Problem.BestKnownQualityParameter {128 IParameter ISingleObjectiveHeuristicOptimizationProblem.BestKnownQualityParameter { 129 129 get { return BestKnownQualityParameter; } 130 130 } … … 160 160 set { SolutionCreatorParameter.Value = value; } 161 161 } 162 ISolutionCreator I Problem.SolutionCreator {162 ISolutionCreator IHeuristicOptimizationProblem.SolutionCreator { 163 163 get { return SolutionCreatorParameter.Value; } 164 164 } … … 167 167 set { EvaluatorParameter.Value = value; } 168 168 } 169 ISingleObjectiveEvaluator ISingleObjective Problem.Evaluator {169 ISingleObjectiveEvaluator ISingleObjectiveHeuristicOptimizationProblem.Evaluator { 170 170 get { return EvaluatorParameter.Value; } 171 171 } 172 IEvaluator I Problem.Evaluator {172 IEvaluator IHeuristicOptimizationProblem.Evaluator { 173 173 get { return EvaluatorParameter.Value; } 174 174 }
Note: See TracChangeset
for help on using the changeset viewer.