Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/13/18 16:56:35 (6 years ago)
Author:
bburlacu
Message:

#2895: Add solution skeleton for PushGP with genealogy analysis.

Location:
branches/2895_PushGP_GenealogyAnalysis
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Tests/Simplifier/SimplifierTests.cs

    r15017 r15771  
    1 namespace HeuristicLab.Tests.Simplifier {
    2   using System;
    3   using HeuristicLab.Problems.ProgramSynthesis.Push.Expressions;
    4   using HeuristicLab.Problems.ProgramSynthesis.Push.Interpreter;
    5   using HeuristicLab.Problems.ProgramSynthesis.Push.Parser;
    6   using HeuristicLab.Problems.ProgramSynthesis.Push.Simplifier;
    7   using HeuristicLab.Random;
     1using System;
     2using HeuristicLab.Problems.ProgramSynthesis;
     3using HeuristicLab.Random;
     4using Microsoft.VisualStudio.TestTools.UnitTesting;
    85
    9   using Microsoft.VisualStudio.TestTools.UnitTesting;
    10 
     6namespace HeuristicLab.Tests.Simplifier {
    117  [TestClass]
    128  public class SimplifierTests {
    13 
    149    [TestMethod]
    1510    [TestProperty("Time", "Short")]
     
    1813      var program = PushParser.ParseProgram("( ( ( ( ( 1 ) ) ) ) )");
    1914      var result = PushParser.ParseProgram("( 1 )");
    20       var simplerProgram = Simplifier.SimplifySubPrograms(program);
     15      var simplerProgram = HeuristicLab.Problems.ProgramSynthesis.Simplifier.SimplifySubPrograms(program);
    2116
    2217      Console.WriteLine(simplerProgram);
     
    4237      };
    4338
    44       var simplerProgram = Simplifier.Simplify(program, pool.PushConfiguration, evaluator);
     39      var simplerProgram = HeuristicLab.Problems.ProgramSynthesis.Simplifier.Simplify(program, pool.PushConfiguration, evaluator);
    4540
    4641      Console.WriteLine(simplerProgram);
Note: See TracChangeset for help on using the changeset viewer.