Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/20/11 01:30:44 (14 years ago)
Author:
cneumuel
Message:

#1215

  • made all IAlgorithm types compatible to be loaded into MetaOptimization.
  • valid problem types are now automatically set
Location:
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/BestParameterConfigurationAnalyzer.cs

    r5293 r5337  
    4242      get { return (LookupParameter<DoubleArray>)Parameters["ProblemQualityReferences"]; }
    4343    }
    44     public LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>> ProblemsParameter {
    45       get { return (LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>>)Parameters[MetaOptimizationProblem.ProblemsParameterName]; }
     44    public LookupParameter<ConstrainedItemList<IProblem>> ProblemsParameter {
     45      get { return (LookupParameter<ConstrainedItemList<IProblem>>)Parameters[MetaOptimizationProblem.ProblemsParameterName]; }
    4646    }
    4747
     
    5656      Parameters.Add(new LookupParameter<RunCollection>("Population", ""));
    5757      Parameters.Add(new LookupParameter<DoubleArray>("ProblemQualityReferences", ""));
    58       Parameters.Add(new LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>>(MetaOptimizationProblem.ProblemsParameterName));
     58      Parameters.Add(new LookupParameter<ConstrainedItemList<IProblem>>(MetaOptimizationProblem.ProblemsParameterName));
    5959    }
    6060
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/ReferenceQualityAnalyzer.cs

    r5293 r5337  
    3030      get { return (LookupParameter<DoubleArray>)Parameters["ProblemQualityReferences"]; }
    3131    }
    32     public LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>> ProblemsParameter {
    33       get { return (LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>>)Parameters[MetaOptimizationProblem.ProblemsParameterName]; }
     32    public LookupParameter<ConstrainedItemList<IProblem>> ProblemsParameter {
     33      get { return (LookupParameter<ConstrainedItemList<IProblem>>)Parameters[MetaOptimizationProblem.ProblemsParameterName]; }
    3434    }
    3535
     
    4040      Parameters.Add(new ScopeTreeLookupParameter<ParameterConfigurationTree>("ParameterConfigurationTree", ""));
    4141      Parameters.Add(new LookupParameter<DoubleArray>("ProblemQualityReferences", ""));
    42       Parameters.Add(new LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>>(MetaOptimizationProblem.ProblemsParameterName, ""));
     42      Parameters.Add(new LookupParameter<ConstrainedItemList<IProblem>>(MetaOptimizationProblem.ProblemsParameterName, ""));
    4343    }
    4444
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/RunsAnalyzer.cs

    r5303 r5337  
    3030      get { return (LookupParameter<DoubleArray>)Parameters["ProblemQualityReferences"]; }
    3131    }
    32     public LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>> ProblemsParameter {
    33       get { return (LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>>)Parameters[MetaOptimizationProblem.ProblemsParameterName]; }
     32    public LookupParameter<ConstrainedItemList<IProblem>> ProblemsParameter {
     33      get { return (LookupParameter<ConstrainedItemList<IProblem>>)Parameters[MetaOptimizationProblem.ProblemsParameterName]; }
    3434    }
    3535    public ValueLookupParameter<ItemDictionary<StringValue, RunCollection>> RunsParameter {
     
    4343      Parameters.Add(new ScopeTreeLookupParameter<ParameterConfigurationTree>("ParameterConfigurationTree", ""));
    4444      Parameters.Add(new LookupParameter<DoubleArray>("ProblemQualityReferences", ""));
    45       Parameters.Add(new LookupParameter<ConstrainedItemList<ISingleObjectiveProblem>>(MetaOptimizationProblem.ProblemsParameterName, ""));
     45      Parameters.Add(new LookupParameter<ConstrainedItemList<IProblem>>(MetaOptimizationProblem.ProblemsParameterName, ""));
    4646      Parameters.Add(new ValueLookupParameter<ItemDictionary<StringValue, RunCollection>>("Runs", "", new ItemDictionary<StringValue, RunCollection>()));
    4747    }
Note: See TracChangeset for help on using the changeset viewer.