Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/01/15 16:47:32 (9 years ago)
Author:
pfleck
Message:

#2027

  • Removed MaximumIterationsTerminator and MaximumEvaluatedSolutionsTermimator because they practically do the same.
  • Add the possibility for ThresholdTerminators to use a foreign parameter (e.g. MaximumSelectionPressure). This way the terminator can use parameters which are still relevant for the algorithm and still provide consistent management of the terminators.
  • Renamed IThresholdTerminator to ISingleValueTerminator.
File:
1 edited

Legend:

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

    r12408 r12411  
    7171      Comparison = comparison;
    7272    }
     73    public ComparisonTerminator(string comparisonValueActualName, ComparisonType comparison, IFixedValueParameter<T> thresholdParameter)
     74      : this() {
     75      ComparisonValueParameter.ActualName = comparisonValueActualName;
     76      Comparison = comparison;
     77      ThresholdParameter = thresholdParameter;
     78    }
    7379
    7480    private void Initialize() {
Note: See TracChangeset for help on using the changeset viewer.