Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/24/16 00:22:11 (8 years ago)
Author:
swagner
Message:

#2526: Merged r14203, r14204, r14206, r14207, r14209 into stable

Location:
stable
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Tests

  • stable/HeuristicLab.Tests/HeuristicLab-3.3/DeepCloneableCloningTest.cs

    r14186 r14211  
    5353      foreach (var symbolType in ApplicationManager.Manager.GetTypes(typeof(HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbol)))
    5454        excludedTypes.Add(symbolType);
     55      // SimpleSymbol is a non-discoverable type and thus needs to be added manually
     56      excludedTypes.Add(typeof(HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.SimpleSymbol));
    5557      foreach (var grammarType in ApplicationManager.Manager.GetTypes(typeof(HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.SymbolicExpressionGrammarBase)))
    5658        excludedTypes.Add(grammarType);
  • stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPRobocodeSampleTest.cs

    r14186 r14211  
    2323using System.Linq;
    2424using HeuristicLab.Algorithms.GeneticAlgorithm;
     25using HeuristicLab.Data;
    2526using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2627using HeuristicLab.Persistence.Default.Xml;
     
    4950
    5051      #region Problem Configuration
    51       Problem antProblem = new Problem();
     52      Problem robocodeProblem = new Problem();
     53      if (!robocodeProblem.Enemies.CheckedItems.Any())
     54        robocodeProblem.Enemies.Add(new StringValue("sample.Crazy"));
    5255      #endregion
    5356      #region Algorithm Configuration
    5457      ga.Name = "Genetic Programming - Robocode Java Source";
    5558      ga.Description = "A standard genetic programming algorithm to evolve the java source code for a robocode bot (see http://robocode.sourceforge.net/). An installation of Java SE Developmen Kit (JDK) >= 1.6 is necessary to run this sample.";
    56       ga.Problem = antProblem;
     59      ga.Problem = robocodeProblem;
    5760      SamplesUtils.ConfigureGeneticAlgorithmParameters<TournamentSelector, SubtreeCrossover, MultiSymbolicExpressionTreeArchitectureManipulator>(
    5861        ga, 50, 1, 50, 0.15, 2);
Note: See TracChangeset for help on using the changeset viewer.