Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/08/17 12:31:54 (7 years ago)
Author:
jkarder
Message:

#1853: worked on ParameterConfigurationEncoding

  • updated to .NET 4.5
  • replaced CreateExperimentDialogV2 with CreateExperimentView
  • improved experiment generation
  • fixed plugin dependencies and cleaned project references
Location:
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3

    • Property svn:ignore set to
      Plugin.cs
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/ParameterConfigurationTree.cs

    r8574 r15171  
    2525using System.Linq;
    2626using System.Text;
    27 using System.Threading;
    2827using HeuristicLab.Common;
    2928using HeuristicLab.Core;
     
    3130using HeuristicLab.Optimization;
    3231using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    33 using HeuristicLab.Problems.Instances;
    3432
    3533namespace HeuristicLab.Encodings.ParameterConfigurationEncoding {
     
    340338        string algorithmInfo = this.AlgorithmConfiguration.ParameterInfoString;
    341339        string problemInfo = this.ProblemConfiguration.ParameterInfoString;
    342         var sb = new StringBuilder();
    343         if (!string.IsNullOrEmpty(algorithmInfo)) {
    344           sb.Append("Algorithm (");
    345           sb.Append(algorithmInfo);
    346           sb.Append(")");
    347         }
    348         if (!string.IsNullOrEmpty(problemInfo)) {
    349           if (sb.Length > 0)
    350             sb.Append(", ");
    351           sb.Append("Problem( ");
    352           sb.Append(problemInfo);
    353           sb.Append(")");
    354         }
     340
     341        var sb = new StringBuilder(AlgorithmConfiguration.NumberedName);
     342        if (!string.IsNullOrEmpty(algorithmInfo)) sb.AppendFormat(" ({0})", algorithmInfo);
     343        if (!string.IsNullOrEmpty(problemInfo)) sb.AppendFormat(", {0} ({1})", ProblemConfiguration.NumberedName, problemInfo);
     344
    355345        return sb.ToString();
    356346      }
Note: See TracChangeset for help on using the changeset viewer.