Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/06/17 11:40:45 (7 years ago)
Author:
gkronber
Message:

#2650: sealed variable symbol classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/FactorVariable.cs

    r14826 r14830  
    3030  [StorableClass]
    3131  [Item("FactorVariable", "Represents a categorical variable (comparable to factors as in R).")]
    32   public class FactorVariable : VariableBase {
     32  public sealed class FactorVariable : VariableBase {
    3333    private readonly Dictionary<string, Dictionary<string, int>> variableValues; // for each variable value also store a zero-based index
    3434    [Storable]
     
    4545
    4646    [StorableConstructor]
    47     protected FactorVariable(bool deserializing)
     47    private FactorVariable(bool deserializing)
    4848      : base(deserializing) {
    4949      variableValues = new Dictionary<string, Dictionary<string, int>>();
    5050    }
    51     protected FactorVariable(FactorVariable original, Cloner cloner)
     51    private FactorVariable(FactorVariable original, Cloner cloner)
    5252      : base(original, cloner) {
    5353      variableValues =
Note: See TracChangeset for help on using the changeset viewer.