Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/15/19 15:29:36 (5 years ago)
Author:
dpiringe
Message:

#3026

  • changed the access modifiers in Constants from public to internal
  • added comments in JCGenerator
  • the config file for JCInstantiator is now optional
  • added Runner.cs (forgot last commit)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.Tests/HeuristicLab.JsonInterface/GeneratorInstantiatorTest.cs

    r17324 r17330  
    1919    public void CreateTempFiles() {
    2020      GeneticAlgorithm alg = new GeneticAlgorithm();
    21       TravelingSalesmanProblem tsp = new TravelingSalesmanProblem();
     21      alg.Problem = new TravelingSalesmanProblem();
    2222      JCGenerator gen = new JCGenerator();
    2323      //File.WriteAllText(@"C:\Workspace\Template.json", gen.GenerateTemplate(alg, tsp));
    24       File.WriteAllText(templateFilePath, gen.GenerateTemplate(alg, tsp));
     24      File.WriteAllText(templateFilePath, gen.GenerateTemplate(alg));
    2525      File.WriteAllText(configFilePath, "["+
    2626        "{\"Name\": \"Seed\",\"Default\": 55555,\"Path\": \"Genetic Algorithm (GA).Seed\"},"+
Note: See TracChangeset for help on using the changeset viewer.