Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/23/18 18:57:36 (7 years ago)
Author:
lkammere
Message:

#2886: Make constant optimization toggleable in algorithm.

File:
1 edited

Legend:

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

    r15860 r15861  
    6060    public void NoConstants_Nguyen1() {
    6161      // x³ + x² + x
     62      alg.OptimizeConstants = false;
    6263      alg.MaxComplexity = 6;
    6364      alg.Problem.ProblemData = new NguyenFunctionOne(Seed).GenerateRegressionData();
     
    117118    public void NoConstants_Nguyen6() {
    118119      // sin(x) + sin(x + x²)
     120      alg.OptimizeConstants = false;
    119121      alg.MaxComplexity = 4;
    120122      alg.Problem.ProblemData = new NguyenFunctionSix(Seed).GenerateRegressionData();
     
    147149    [TestProperty("Goal", "structure search")]
    148150    public void NoConstants_Nguyen9() {
    149       // sin(x) + sin(y²)
     151      // sin(x) + sin(y²)   
     152      alg.OptimizeConstants = false;
    150153      alg.MaxComplexity = 3;
    151154      alg.Problem.ProblemData = new NguyenFunctionNine(Seed).GenerateRegressionData();
     
    190193    [TestProperty("Goal", "structure search")]
    191194    public void NoConstants_Inverse() {
    192       // x / (log(x)*x + x)
     195      // x / (log(x)*x + x)
     196      alg.OptimizeConstants = false;
    193197      alg.MaxComplexity = 4;
    194198
Note: See TracChangeset for help on using the changeset viewer.