Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13131


Ignore:
Timestamp:
11/10/15 13:41:51 (9 years ago)
Author:
pfleck
Message:

#2507 Unsealed ExternalEvaluationProblem and made GetQualityMessageExtensions virtual.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.4/ExternalEvaluationProblem.cs

    r12504 r13131  
    3838  [Creatable(CreatableAttribute.Categories.ExternalEvaluationProblems, Priority = 100)]
    3939  [StorableClass]
    40   public sealed class ExternalEvaluationProblem : SingleObjectiveBasicProblem<IEncoding> {
     40  public class ExternalEvaluationProblem : SingleObjectiveBasicProblem<IEncoding> {
    4141
    4242    public static new Image StaticItemImage {
     
    7878
    7979    [StorableConstructor]
    80     private ExternalEvaluationProblem(bool deserializing) : base(deserializing) { }
    81     private ExternalEvaluationProblem(ExternalEvaluationProblem original, Cloner cloner) : base(original, cloner) { }
     80    protected ExternalEvaluationProblem(bool deserializing) : base(deserializing) { }
     81    protected ExternalEvaluationProblem(ExternalEvaluationProblem original, Cloner cloner) : base(original, cloner) { }
    8282    public override IDeepCloneable Clone(Cloner cloner) {
    8383      return new ExternalEvaluationProblem(this, cloner);
     
    139139    }
    140140
    141     private ExtensionRegistry GetQualityMessageExtensions() {
     141    protected virtual ExtensionRegistry GetQualityMessageExtensions() {
    142142      return ExtensionRegistry.CreateInstance();
    143143    }
Note: See TracChangeset for help on using the changeset viewer.