Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/10 23:34:36 (15 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.Analysis/3.3/DataTableValuesCollector.cs

    r3637 r3687  
    5353
    5454      foreach (IParameter param in CollectedValues) {
     55        ILookupParameter lookupParam = param as ILookupParameter;
     56        string name = lookupParam != null ? lookupParam.TranslatedName : param.Name;
     57
    5558        if (param.ActualValue is DoubleValue) {
    56           AddValue(table, (param.ActualValue as DoubleValue).Value, param.Name, param.Description);
     59          AddValue(table, (param.ActualValue as DoubleValue).Value, name, param.Description);
    5760        } else if (param.ActualValue is IEnumerable<DoubleValue>) {
    5861          int counter = 0;
    5962          foreach (DoubleValue data in (param.ActualValue as IEnumerable<DoubleValue>)) {
    60             AddValue(table, data.Value, param.Name + " " + counter.ToString(), param.Description);
     63            AddValue(table, data.Value, name + " " + counter.ToString(), param.Description);
    6164            counter++;
    6265          }
    6366        } else {
    64           AddValue(table, double.NaN, param.Name, param.Description);
     67          AddValue(table, double.NaN, name, param.Description);
    6568        }
    6669      }
Note: See TracChangeset for help on using the changeset viewer.