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.Operators/3.3/InstrumentedOperator.cs

    r10261 r10291  
    2020#endregion
    2121
     22using System.Collections.Generic;
    2223using System.Linq;
    2324using HeuristicLab.Common;
     
    2930  [Item("InstrumentedOperator", "A operator that can execute pre- and post actions.")]
    3031  [StorableClass]
    31   public abstract class InstrumentedOperator : SingleSuccessorOperator {
     32  public abstract class InstrumentedOperator : SingleSuccessorOperator, IInstrumentedOperator {
    3233    private const string BeforeExecutionOperatorsParameterName = "BeforeExecutionOperators";
    3334    private const string AfterExecutionOperatorsParameterName = "AfterExecutionOperators";
     
    4041    }
    4142
     43
     44    IEnumerable<IOperator> IInstrumentedOperator.BeforeExecutionOperators { get { return BeforeExecutionOperators; } }
    4245    public OperatorList BeforeExecutionOperators {
    4346      get { return BeforeExecutionOperatorsParameter.Value; }
    4447    }
     48    IEnumerable<IOperator> IInstrumentedOperator.AfterExecutionOperators { get { return AfterExecutionOperators; } }
    4549    public OperatorList AfterExecutionOperators {
    4650      get { return AfterExecutionOperatorsParameter.Value; }
Note: See TracChangeset for help on using the changeset viewer.