Free cookie consent management tool by TermsFeed Policy Generator

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

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

  • removed SubScopesSubScopesLookupParameter
  • adapted SubScopesLookupParameter and renamed it into ScopeTreeLookupParameter
Location:
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithmMainLoop.cs

    r3616 r3659  
    4444      get { return (ValueLookupParameter<BoolValue>)Parameters["Maximization"]; }
    4545    }
    46     public SubScopesLookupParameter<DoubleValue> QualityParameter {
    47       get { return (SubScopesLookupParameter<DoubleValue>)Parameters["Quality"]; }
     46    public ScopeTreeLookupParameter<DoubleValue> QualityParameter {
     47      get { return (ScopeTreeLookupParameter<DoubleValue>)Parameters["Quality"]; }
    4848    }
    4949    public ValueLookupParameter<IOperator> SelectorParameter {
     
    9494      Parameters.Add(new ValueLookupParameter<IRandom>("Random", "A pseudo random number generator."));
    9595      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false."));
    96       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Quality", "The value which represents the quality of a solution."));
     96      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The value which represents the quality of a solution."));
    9797      Parameters.Add(new ValueLookupParameter<IOperator>("Selector", "The operator used to select solutions for reproduction."));
    9898      Parameters.Add(new ValueLookupParameter<IOperator>("Crossover", "The operator used to cross solutions."));
  • TabularUnified trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithmMainLoop.cs

    r3650 r3659  
    4949      get { return (ValueLookupParameter<BoolValue>)Parameters["Maximization"]; }
    5050    }
    51     public SubScopesLookupParameter<DoubleValue> QualityParameter {
    52       get { return (SubScopesLookupParameter<DoubleValue>)Parameters["Quality"]; }
     51    public ScopeTreeLookupParameter<DoubleValue> QualityParameter {
     52      get { return (ScopeTreeLookupParameter<DoubleValue>)Parameters["Quality"]; }
    5353    }
    5454    public ValueLookupParameter<DoubleValue> BestKnownQualityParameter {
     
    115115      Parameters.Add(new ValueLookupParameter<IRandom>("Random", "A pseudo random number generator."));
    116116      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false."));
    117       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Quality", "The value which represents the quality of a solution."));
     117      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The value which represents the quality of a solution."));
    118118      Parameters.Add(new ValueLookupParameter<DoubleValue>("BestKnownQuality", "The best known quality value found so far."));
    119119      Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfIslands", "The number of islands."));
     
    193193      resultsCollector2.Name = "Reference Island Results";
    194194      resultsCollector2.CopyValue = new BoolValue(false);
    195       resultsCollector2.CollectedValues.Add(new SubScopesLookupParameter<ResultCollection>("IslandResults", "Result set for each island", "Results"));
     195      resultsCollector2.CollectedValues.Add(new ScopeTreeLookupParameter<ResultCollection>("IslandResults", "Result set for each island", "Results"));
    196196      resultsCollector2.ResultsParameter.ActualName = ResultsParameter.Name;
    197197
Note: See TracChangeset for help on using the changeset viewer.