Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/24/18 13:11:59 (6 years ago)
Author:
lkammere
Message:

#2886: Add separate data structure for storing phrases in the queue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2886_SymRegGrammarEnumeration/Test/GrammarEnumerationTest.cs

    r15907 r15915  
    210210    public void Constants_Nguyen7() {
    211211      // log(x+1) + log(x*x + 1)
    212       alg.MaxComplexity = 3;
     212      alg.MaxComplexity = 4;
     213      alg.OptimizeConstants = true;
    213214      alg.Problem.ProblemData = new NguyenFunctionSeven().GenerateRegressionData();
    214215
     
    242243      // x*x*x*x - x*x*x + y*y/2 -y
    243244      alg.MaxComplexity = 10;
     245      alg.OptimizeConstants = true;
    244246      alg.Problem.ProblemData = new NguyenFunctionTwelve().GenerateRegressionData();
    245247
     
    286288      // (30*x*z) / ((x - 10)*y*y)
    287289      alg.MaxComplexity = 5;
     290      alg.OptimizeConstants = true;
    288291      alg.Problem.ProblemData = new KeijzerFunctionFive().GenerateRegressionData();
    289292
     
    357360    [TestProperty("Goal", "structure search + const op")]
    358361    public void Constants_Keijzer14() {
    359       // 8 / (2 + x*x + y*y
     362      // 8 / (2 + x*x + y*y)
    360363      alg.MaxComplexity = 4;
     364      alg.OptimizeConstants = true;
    361365      alg.Problem.ProblemData = new KeijzerFunctionFourteen().GenerateRegressionData();
    362366
     
    396400      // x*x*x / 5 + y*y*y / 2 - y - x
    397401      alg.MaxComplexity = 8;
     402      alg.OptimizeConstants = true;
    398403      alg.Problem.ProblemData = new KeijzerFunctionFifteen().GenerateRegressionData();
    399404
     
    428433    [TestProperty("Goal", "Poly-10 derivatives")]
    429434    public void MctsSymbReg_NoConstants_Poly10_Part1() {
    430       alg.MaxComplexity = 12; 
     435      alg.MaxComplexity = 12;
    431436      alg.OptimizeConstants = false;
    432437      var regProblem = new PolyTen(123).GenerateRegressionData();
Note: See TracChangeset for help on using the changeset viewer.