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
Location:
trunk/sources/HeuristicLab.Selection/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Selection/3.3/ConditionalSelector.cs

    r3413 r3659  
    3232  [StorableClass]
    3333  public class ConditionalSelector : Selector {
    34     public SubScopesLookupParameter<BoolValue> ConditionParameter {
    35       get { return (SubScopesLookupParameter<BoolValue>)Parameters["Condition"]; }
     34    public ScopeTreeLookupParameter<BoolValue> ConditionParameter {
     35      get { return (ScopeTreeLookupParameter<BoolValue>)Parameters["Condition"]; }
    3636    }
    3737    public ValueParameter<BoolValue> CopySelectedParameter {
     
    4646    public ConditionalSelector()
    4747      : base() {
    48       Parameters.Add(new SubScopesLookupParameter<BoolValue>("Condition", "The boolean variable based on which the scopes are selected into a true scope-branch and a false scope-branch."));
     48      Parameters.Add(new ScopeTreeLookupParameter<BoolValue>("Condition", "The boolean variable based on which the scopes are selected into a true scope-branch and a false scope-branch."));
    4949      Parameters.Add(new ValueParameter<BoolValue>("CopySelected", "The parameter that decides whether the selected scopes should be copied or moved.", new BoolValue(true)));
    5050    }
  • trunk/sources/HeuristicLab.Selection/3.3/GenderSpecificSelector.cs

    r3413 r3659  
    8989      #region Create parameters
    9090      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem."));
    91       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Quality", "The quality of the solutions."));
     91      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality of the solutions."));
    9292      Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfSelectedSubScopes", "The number of scopes that should be selected."));
    9393      Parameters.Add(new ValueLookupParameter<BoolValue>("CopySelected", "True if the scopes should be copied, false if they should be moved.", new BoolValue(true)));
  • trunk/sources/HeuristicLab.Selection/3.3/RandomReplacer.cs

    r3601 r3659  
    5353    public RandomReplacer()
    5454      : base() {
    55       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Quality", "The quality of a solution."));
     55      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality of a solution."));
    5656      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false."));
    5757      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator to use."));
  • trunk/sources/HeuristicLab.Selection/3.3/SingleObjectiveSelector.cs

    r3376 r3659  
    5656      Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfSelectedSubScopes", "The number of sub-scopes which should be selected."));
    5757      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the current problem is a maximization problem, otherwise false."));
    58       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Quality", "The quality value contained in each sub-scope which is used for selection."));
     58      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality value contained in each sub-scope which is used for selection."));
    5959    }
    6060  }
  • trunk/sources/HeuristicLab.Selection/3.3/WorstReplacer.cs

    r3601 r3659  
    5050    public WorstReplacer()
    5151      : base() {
    52       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Quality", "The quality of a solution."));
     52      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality of a solution."));
    5353      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false."));
    5454
Note: See TracChangeset for help on using the changeset viewer.