Changeset 13652 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/MctsSymbolicRegressionAlgorithm.cs
- Timestamp:
- 03/05/16 19:41:24 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/MctsSymbolicRegressionAlgorithm.cs
r13651 r13652 70 70 get { return (IFixedValueParameter<IntValue>)Parameters[IterationsParameterName]; } 71 71 } 72 public IFixedValueParameter<IntValue> Max SizeParameter {72 public IFixedValueParameter<IntValue> MaxVariableReferencesParameter { 73 73 get { return (IFixedValueParameter<IntValue>)Parameters[MaxVariablesParameterName]; } 74 74 } … … 115 115 set { SetSeedRandomlyParameter.Value.Value = value; } 116 116 } 117 public int Max Size{118 get { return Max SizeParameter.Value.Value; }119 set { Max SizeParameter.Value.Value = value; }117 public int MaxVariableReferences { 118 get { return MaxVariableReferencesParameter.Value.Value; } 119 set { MaxVariableReferencesParameter.Value.Value = value; } 120 120 } 121 121 public double C { … … 244 244 var problemData = (IRegressionProblemData)Problem.ProblemData.Clone(); 245 245 if (!AllowedFactors.CheckedItems.Any()) throw new ArgumentException("At least on type of factor must be allowed"); 246 var state = MctsSymbolicRegressionStatic.CreateState(problemData, (uint)Seed, Max Size, C, ScaleVariables, ConstantOptimizationIterations,246 var state = MctsSymbolicRegressionStatic.CreateState(problemData, (uint)Seed, MaxVariableReferences, C, ScaleVariables, ConstantOptimizationIterations, 247 247 lowerLimit, upperLimit, 248 248 allowProdOfVars: AllowedFactors.CheckedItems.Any(s => s.Value.Value == VariableProductFactorName),
Note: See TracChangeset
for help on using the changeset viewer.