Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/19 14:15:55 (5 years ago)
Author:
abeham
Message:

#3005: merged to stable (16872, 16873, 16875, 16890)

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression/Problem.cs

    r17097 r17149  
    2323using System.Collections.Generic;
    2424using System.Linq;
     25using HEAL.Attic;
    2526using HeuristicLab.Common;
    2627using HeuristicLab.Core;
    2728using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2829using HeuristicLab.Parameters;
    29 using HEAL.Attic;
    3030using HeuristicLab.Problems.DataAnalysis;
    3131using HeuristicLab.Problems.Instances;
     
    8787      var g = new SimpleSymbolicExpressionGrammar(); // empty grammar is replaced in UpdateGrammar()
    8888      base.Encoding = new SymbolicExpressionTreeEncoding(g, 100, 17);
     89      Encoding.GrammarParameter.ReadOnly = true;
    8990
    9091      UpdateGrammar();
     
    177178      }
    178179
     180      Encoding.GrammarParameter.ReadOnly = false;
    179181      Encoding.Grammar = g;
     182      Encoding.GrammarParameter.ReadOnly = true;
    180183    }
    181184    #endregion
Note: See TracChangeset for help on using the changeset viewer.