Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/05/16 19:41:24 (8 years ago)
Author:
gkronber
Message:

#2581:

  • removed simplification of trees (temporarily for better debugging)
  • renamed MaxSize parameter
  • fixed a small bug in MCTS
  • changed SymbolicExpressionGenerator to produce trees in the correct order
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/MctsSymbolicRegressionAlgorithm.cs

    r13651 r13652  
    7070      get { return (IFixedValueParameter<IntValue>)Parameters[IterationsParameterName]; }
    7171    }
    72     public IFixedValueParameter<IntValue> MaxSizeParameter {
     72    public IFixedValueParameter<IntValue> MaxVariableReferencesParameter {
    7373      get { return (IFixedValueParameter<IntValue>)Parameters[MaxVariablesParameterName]; }
    7474    }
     
    115115      set { SetSeedRandomlyParameter.Value.Value = value; }
    116116    }
    117     public int MaxSize {
    118       get { return MaxSizeParameter.Value.Value; }
    119       set { MaxSizeParameter.Value.Value = value; }
     117    public int MaxVariableReferences {
     118      get { return MaxVariableReferencesParameter.Value.Value; }
     119      set { MaxVariableReferencesParameter.Value.Value = value; }
    120120    }
    121121    public double C {
     
    244244      var problemData = (IRegressionProblemData)Problem.ProblemData.Clone();
    245245      if (!AllowedFactors.CheckedItems.Any()) throw new ArgumentException("At least on type of factor must be allowed");
    246       var state = MctsSymbolicRegressionStatic.CreateState(problemData, (uint)Seed, MaxSize, C, ScaleVariables, ConstantOptimizationIterations,
     246      var state = MctsSymbolicRegressionStatic.CreateState(problemData, (uint)Seed, MaxVariableReferences, C, ScaleVariables, ConstantOptimizationIterations,
    247247        lowerLimit, upperLimit,
    248248        allowProdOfVars: AllowedFactors.CheckedItems.Any(s => s.Value.Value == VariableProductFactorName),
Note: See TracChangeset for help on using the changeset viewer.