Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/10 00:47:32 (14 years ago)
Author:
swagner
Message:

Worked on refactoring of algorithm analysis and tracing (#999)

  • removed SubScopesSubScopesLookupParameter
  • adapted SubScopesLookupParameter and renamed it into ScopeTreeLookupParameter
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis/3.3/PopulationValueAnalyzer.cs

    r3658 r3659  
    3636  public sealed class PopulationValueAnalyzer : AlgorithmOperator, IAnalyzer {
    3737    #region Parameter properties
    38     public SubScopesLookupParameter<DoubleValue> ValueParameter {
    39       get { return (SubScopesLookupParameter<DoubleValue>)Parameters["Value"]; }
     38    public ScopeTreeLookupParameter<DoubleValue> ValueParameter {
     39      get { return (ScopeTreeLookupParameter<DoubleValue>)Parameters["Value"]; }
    4040    }
    4141    public ValueLookupParameter<DataTable> ValuesParameter {
     
    5656    private void Initialize() {
    5757      #region Create parameters
    58       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Value", "The value contained in each solution which should be analyzed."));
     58      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Value", "The value contained in each solution which should be analyzed."));
    5959      Parameters.Add(new ValueLookupParameter<DataTable>("Values", "The data table to store the values."));
    6060      Parameters.Add(new ValueLookupParameter<VariableCollection>("Results", "The results collection where the analysis values should be stored."));
     
    6565      ResultsCollector resultsCollector = new ResultsCollector();
    6666
    67       dataTableValuesCollector.CollectedValues.Add(new SubScopesLookupParameter<DoubleValue>("Value", null, "Value"));
     67      dataTableValuesCollector.CollectedValues.Add(new ScopeTreeLookupParameter<DoubleValue>("Value", null, "Value"));
    6868      dataTableValuesCollector.DataTableParameter.ActualName = "Values";
    6969
    70       resultsCollector.CollectedValues.Add(new SubScopesLookupParameter<DoubleValue>("Value", null, "Value"));
     70      resultsCollector.CollectedValues.Add(new ScopeTreeLookupParameter<DoubleValue>("Value", null, "Value"));
    7171      resultsCollector.CollectedValues.Add(new LookupParameter<DataTable>("Values"));
    7272      resultsCollector.ResultsParameter.ActualName = "Results";
Note: See TracChangeset for help on using the changeset viewer.