source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Program.cs @ 17284

Last change on this file since 17284 was 17284, checked in by dpiringe, 3 years ago

#3026: renamed namespace and project from HeuristicLab.Manufacture to HeuristicLab.JsonInterface

File size: 1.4 KB
Line 
1using System;
2using System.Collections;
3using System.Collections.Generic;
4using System.IO;
5using System.Linq;
6using System.Reflection;
7using System.Text;
8using System.Threading.Tasks;
9using HeuristicLab.Algorithms.ALPS;
10using HeuristicLab.Algorithms.GeneticAlgorithm;
11using HeuristicLab.Algorithms.LocalSearch;
12using HeuristicLab.Algorithms.TabuSearch;
13using HeuristicLab.Analysis;
14using HeuristicLab.Core;
15using HeuristicLab.Data;
16using HeuristicLab.Encodings.PermutationEncoding;
17using HeuristicLab.Optimization;
18using HeuristicLab.Parameters;
19using HeuristicLab.PluginInfrastructure;
20using HeuristicLab.Problems.Knapsack;
21using HeuristicLab.Problems.TravelingSalesman;
22using HeuristicLab.Problems.VehicleRouting;
23using HeuristicLab.SequentialEngine;
24using Newtonsoft.Json;
25using Newtonsoft.Json.Linq;
26using Newtonsoft.Json.Serialization;
27
28
29namespace HeuristicLab.JsonInterface {
30 
31  public class Program {
32    static void Main(string[] args) {
33      GeneticAlgorithm alg = new GeneticAlgorithm();
34      TravelingSalesmanProblem tsp = new TravelingSalesmanProblem();
35
36      JCGenerator gen = new JCGenerator();
37      File.WriteAllText(@"C:\Workspace\TemplateProto11.json", gen.GenerateTemplate(alg, tsp));
38     
39      JCInstantiator configurator = new JCInstantiator();
40      configurator.Instantiate(@"C:\Workspace\TemplateProto11.json");
41
42      //Console.ReadLine();
43    }
44  }
45}
Note: See TracBrowser for help on using the repository browser.