Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/07/14 11:14:18 (11 years ago)
Author:
mkommend
Message:

#2119: Added interface for instrumented operators and adapted problem and encoding specific operators to provide instrumentation capabilities.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.QuadraticAssignment/3.3/Evaluators/QAPEvaluator.cs

    r9456 r10291  
    3030namespace HeuristicLab.Problems.QuadraticAssignment {
    3131  [StorableClass]
    32   public class QAPEvaluator : SingleSuccessorOperator, IQAPEvaluator {
     32  public class QAPEvaluator : InstrumentedOperator, IQAPEvaluator {
    3333
    3434    public ILookupParameter<Permutation> PermutationParameter {
     
    7878    }
    7979
    80     public override IOperation Apply() {
     80    public override IOperation InstrumentedApply() {
    8181      Permutation assignment = PermutationParameter.ActualValue;
    8282      DoubleMatrix weights = WeightsParameter.ActualValue;
     
    8686      QualityParameter.ActualValue = new DoubleValue(quality);
    8787
    88       return base.Apply();
     88      return base.InstrumentedApply();
    8989    }
    9090  }
Note: See TracChangeset for help on using the changeset viewer.