Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3637


Ignore:
Timestamp:
05/05/10 15:36:02 (14 years ago)
Author:
swagner
Message:

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

Location:
trunk/sources
Files:
2 edited

Legend:

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

    r3489 r3637  
    5858          int counter = 0;
    5959          foreach (DoubleValue data in (param.ActualValue as IEnumerable<DoubleValue>)) {
    60             AddValue(table, data.Value, param.Name + counter.ToString(), param.Description);
     60            AddValue(table, data.Value, param.Name + " " + counter.ToString(), param.Description);
    6161            counter++;
    6262          }
  • trunk/sources/HeuristicLab.Optimization.Operators/3.3/ResultsCollector.cs

    r3376 r3637  
    5050          results.TryGetValue(param.Name, out result);
    5151          if (result != null)
    52             result.Value = value;
     52            result.Value = (IItem)value.Clone();
    5353          else
    54             results.Add(new Result(param.Name, param.Description, value));
     54            results.Add(new Result(param.Name, param.Description, (IItem)value.Clone()));
    5555        }
    5656      }
Note: See TracChangeset for help on using the changeset viewer.