Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/27/17 16:01:28 (8 years ago)
Author:
mkommend
Message:

#2650: Minor changes in factors branch (sealed one factor classes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/symbreg-factors-2650/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneFactorClassificationSolution.cs

    r14242 r14615  
    2828  [StorableClass]
    2929  [Item(Name = "OneR Classification Solution", Description = "Represents a OneR classification solution which uses only a single factor for class prediction.")]
    30   public class OneFactorClassificationSolution : ClassificationSolution {
     30  public sealed class OneFactorClassificationSolution : ClassificationSolution {
    3131    public new OneFactorClassificationModel Model {
    3232      get { return (OneFactorClassificationModel)base.Model; }
     
    3535
    3636    [StorableConstructor]
    37     protected OneFactorClassificationSolution(bool deserializing) : base(deserializing) { }
    38     protected OneFactorClassificationSolution(OneFactorClassificationSolution original, Cloner cloner) : base(original, cloner) { }
     37    private OneFactorClassificationSolution(bool deserializing) : base(deserializing) { }
     38    private OneFactorClassificationSolution(OneFactorClassificationSolution original, Cloner cloner) : base(original, cloner) { }
    3939    public OneFactorClassificationSolution(OneFactorClassificationModel model, IClassificationProblemData problemData)
    4040      : base(model, problemData) {
Note: See TracChangeset for help on using the changeset viewer.