Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/10 23:34:36 (14 years ago)
Author:
swagner
Message:

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

  • fixed naming issues in DataTableValuesCollector, ResultsCollector and VariableCreator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters/3.3/ScopeTreeLookupParameter.cs

    r3663 r3687  
    7373
    7474    protected override IItem GetActualValue() {
    75       string name = LookupParameter<ItemArray<T>>.TranslateName(Name, ExecutionContext);
    76 
    7775      IEnumerable<IScope> scopes = new IScope[] { ExecutionContext.Scope };
    7876      for (int i = 0; i < depth; i++)
    7977        scopes = scopes.Select(x => (IEnumerable<IScope>)x.SubScopes).Aggregate((a, b) => a.Concat(b));
    8078
     79      string name = TranslatedName;
    8180      List<T> values = new List<T>();
    8281      IVariable var;
     
    105104        );
    106105
    107       string name = LookupParameter<ItemArray<T>>.TranslateName(Name, ExecutionContext);
    108 
    109106      IEnumerable<IScope> scopes = new IScope[] { ExecutionContext.Scope };
    110107      for (int i = 0; i < depth; i++)
     
    113110      if (scopes.Count() != values.Length) throw new InvalidOperationException("Number of values is not equal to number of scopes.");
    114111
     112      string name = TranslatedName;
    115113      int j = 0;
    116114      IVariable var;
Note: See TracChangeset for help on using the changeset viewer.