Ignore:
Timestamp:
06/02/15 13:06:34 (7 years ago)
Author:
pfleck
Message:

#2027 Added some custom values when collecting parameter values of Terminators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TerminationCriteria/HeuristicLab.Termination/3.3/Terminator.cs

    r12407 r12413  
    2020#endregion
    2121
     22using System.Collections.Generic;
    2223using System.Drawing;
    2324using HeuristicLab.Common;
     
    5859
    5960    protected abstract bool CheckContinueCriterion();
     61
     62    public override void CollectParameterValues(IDictionary<string, IItem> values) {
     63      base.CollectParameterValues(values);
     64      values["Description"] = new StringValue(ToString());
     65      values["Type"] = new StringValue(GetType().GetPrettyName(false));
     66    }
    6067  }
    6168}
Note: See TracChangeset for help on using the changeset viewer.