Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3785


Ignore:
Timestamp:
05/11/10 19:43:07 (15 years ago)
Author:
swagner
Message:

Added algorithm and problem name and type to the parameters collection when collecting the parameter values of a run (#947)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Common.Resources/3.3/HeuristicLab.Common.Resources-3.3.csproj

    r3732 r3785  
    402402  <ItemGroup>
    403403    <None Include="Resources\HeuristicLab\HeuristicLab.ico" />
     404    <None Include="Resources\HeuristicLab\HeuristicLabBanner.png" />
     405    <None Include="Resources\HeuristicLab\HeuristicLabLogo.png" />
    404406    <Content Include="Resources\VS2008ImageLibrary\VS2008ImageLibrary_Actions_ActualSize.png" />
    405407    <Content Include="Resources\VS2008ImageLibrary\VS2008ImageLibrary_Objects_Performance.ico" />
  • trunk/sources/HeuristicLab.Optimization/3.3/Algorithm.cs

    r3739 r3785  
    204204    public override void CollectParameterValues(IDictionary<string, IItem> values) {
    205205      base.CollectParameterValues(values);
    206       if (Problem != null) Problem.CollectParameterValues(values);
     206      values.Add("Algorithm Name", new StringValue(Name));
     207      values.Add("Algorithm Type", new StringValue(this.GetType().GetPrettyName()));
     208      if (Problem != null) {
     209        Problem.CollectParameterValues(values);
     210        values.Add("Problem Name", new StringValue(Problem.Name));
     211        values.Add("Problem Type", new StringValue(Problem.GetType().GetPrettyName()));
     212      }
    207213    }
    208214    public virtual void CollectResultValues(IDictionary<string, IItem> values) {
Note: See TracChangeset for help on using the changeset viewer.