- Timestamp:
- 04/06/17 11:40:45 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/BinaryFactorVariable.cs
r14826 r14830 30 30 [StorableClass] 31 31 [Item("BinaryFactorVariable", "Represents a categorical variable (comparable to factors as in R) and it's value.")] 32 public class BinaryFactorVariable : VariableBase {32 public sealed class BinaryFactorVariable : VariableBase { 33 33 34 34 private readonly Dictionary<string, List<string>> variableValues; … … 47 47 48 48 [StorableConstructor] 49 pr otectedBinaryFactorVariable(bool deserializing)49 private BinaryFactorVariable(bool deserializing) 50 50 : base(deserializing) { 51 51 variableValues = new Dictionary<string, List<string>>(); 52 52 } 53 pr otectedBinaryFactorVariable(BinaryFactorVariable original, Cloner cloner)53 private BinaryFactorVariable(BinaryFactorVariable original, Cloner cloner) 54 54 : base(original, cloner) { 55 55 variableValues = -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/FactorVariable.cs
r14826 r14830 30 30 [StorableClass] 31 31 [Item("FactorVariable", "Represents a categorical variable (comparable to factors as in R).")] 32 public class FactorVariable : VariableBase {32 public sealed class FactorVariable : VariableBase { 33 33 private readonly Dictionary<string, Dictionary<string, int>> variableValues; // for each variable value also store a zero-based index 34 34 [Storable] … … 45 45 46 46 [StorableConstructor] 47 pr otectedFactorVariable(bool deserializing)47 private FactorVariable(bool deserializing) 48 48 : base(deserializing) { 49 49 variableValues = new Dictionary<string, Dictionary<string, int>>(); 50 50 } 51 pr otectedFactorVariable(FactorVariable original, Cloner cloner)51 private FactorVariable(FactorVariable original, Cloner cloner) 52 52 : base(original, cloner) { 53 53 variableValues = -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Variable.cs
r14826 r14830 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 22 using HeuristicLab.Common; 25 23 using HeuristicLab.Core; … … 29 27 [StorableClass] 30 28 [Item("Variable", "Represents a variable value.")] 31 public class Variable : VariableBase {29 public sealed class Variable : VariableBase { 32 30 33 31 [StorableConstructor] 34 pr otectedVariable(bool deserializing)32 private Variable(bool deserializing) 35 33 : base(deserializing) { 36 34 } 37 pr otectedVariable(Variable original, Cloner cloner)35 private Variable(Variable original, Cloner cloner) 38 36 : base(original, cloner) { 39 37 }
Note: See TracChangeset
for help on using the changeset viewer.