Changeset 17604 for branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols
- Timestamp:
- 06/17/20 11:23:37 (4 years ago)
- Location:
- branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/ConstantTreeNode.cs
r17180 r17604 20 20 #endregion 21 21 22 using System; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; … … 37 38 get { return constantValue; } 38 39 set { constantValue = value; } 40 } 41 42 public override Type DataType { 43 get { return typeof(double); } 39 44 } 40 45 -
branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/FactorVariableTreeNode.cs
r17180 r17604 44 44 get { return variableName; } 45 45 set { variableName = value; } 46 } 47 48 public override Type DataType { 49 get { return typeof(double); } 46 50 } 47 51 -
branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/VariableBase.cs
r17180 r17604 142 142 get { return maximumArity; } 143 143 } 144 145 [Storable] 146 private Type variableDataType; 147 public Type VariableDataType { 148 get { return variableDataType; } 149 set { 150 if (variableDataType == value) return; 151 variableDataType = value; 152 OnChanged(EventArgs.Empty); 153 } 154 } 144 155 #endregion 145 156 … … 166 177 multiplicativeWeightManipulatorSigma = original.multiplicativeWeightManipulatorSigma; 167 178 variableChangeProbability = original.variableChangeProbability; 179 variableDataType = original.variableDataType; 168 180 } 169 181 protected VariableBase(string name, string description) -
branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/VariableTreeNodeBase.cs
r17180 r17604 20 20 #endregion 21 21 22 using System; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; … … 42 43 get { return variableName; } 43 44 set { variableName = value; } 45 } 46 47 public override Type DataType { 48 get { return Symbol.VariableDataType; } 44 49 } 45 50
Note: See TracChangeset
for help on using the changeset viewer.