Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/02/15 13:06:34 (9 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/ComparisonTerminator.cs

    r12411 r12413  
    2121
    2222using System;
     23using System.Collections.Generic;
    2324using HeuristicLab.Common;
    2425using HeuristicLab.Core;
     
    8283    }
    8384
     85    public override void CollectParameterValues(IDictionary<string, IItem> values) {
     86      base.CollectParameterValues(values);
     87      values.Add(ComparisonValueParameter.Name, new StringValue(ComparisonValueParameter.ActualName));
     88    }
     89
    8490    private void Comparison_ValueChanged(object sender, EventArgs e) {
    8591      OnComparisonChanged();
Note: See TracChangeset for help on using the changeset viewer.