Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/15/15 11:16:05 (10 years ago)
Author:
mkommend
Message:

#2278: Minor code cleanup in classification extensions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Classification-Extensions/HeuristicLab.Optimization/3.3/ResultCollection.cs

    r11718 r11761  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    26 using System.Linq;
    2726
    28 namespace HeuristicLab.Optimization {   
     27namespace HeuristicLab.Optimization {
    2928  [StorableClass]
    3029  [Item("ResultCollection", "Represents a collection of results.")]
     
    4746
    4847    public virtual void CollectResultValues(IDictionary<string, IItem> values) {
    49       CollectResultValues(values, string.Empty); 
     48      CollectResultValues(values, string.Empty);
    5049    }
    5150
     
    6766      if (result.Value == null) yield break;
    6867      yield return new KeyValuePair<string, IItem>(string.Empty, result.Value);
     68
    6969      var resultCollection = result.Value as ResultCollection;
    70       if (resultCollection != null) {       
     70      if (resultCollection != null) {
    7171        var children = new Dictionary<string, IItem>();
    7272        resultCollection.CollectResultValues(children);
Note: See TracChangeset for help on using the changeset viewer.