Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/04/12 15:42:21 (12 years ago)
Author:
mkommend
Message:

#1673: Added new property AlgorithmName to the RunCollection and synced the property with the name of the surrounding IOptimizer. The AlgorithmName is used by the RunCollectionViews as prefix for its caption if it was set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/CrossValidation.cs

    r8528 r8738  
    4444
    4545      executionState = ExecutionState.Stopped;
    46       runs = new RunCollection();
     46      runs = new RunCollection { AlgorithmName = name };
    4747      runsCounter = 0;
    4848
     
    246246    #endregion
    247247
     248    protected override void OnNameChanged() {
     249      base.OnNameChanged();
     250      Runs.AlgorithmName = Name;
     251    }
     252
    248253    public void Prepare() {
    249254      if (ExecutionState == ExecutionState.Started)
Note: See TracChangeset for help on using the changeset viewer.