- Timestamp:
- 04/27/20 15:53:26 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/Heuristiclab.ConfigStarter/Program.cs
r17483 r17519 30 30 HEAL.Attic.Mapper.StaticCache.UpdateRegisteredTypes(); 31 31 32 32 33 33 HeuristicLabJsonInterfaceAppApplication app = new HeuristicLabJsonInterfaceAppApplication(); 34 34 … … 47 47 ActivateJsonItems(root); 48 48 49 JCGenerator.GenerateTemplate(@"C:\Workspace", "Template", alg, root);50 49 50 JCGenerator.GenerateTemplate(@"C:\Workspace\ConfigStarter\", "Template", alg, root); 51 52 51 53 List<ICommandLineArgument> arguments = new List<ICommandLineArgument>(); 52 54 arguments.Add(new StartArgument("JsonInterface")); 53 arguments.Add(new OpenArgument(@"C:\Workspace\ Template.json"));54 arguments.Add(new OpenArgument(@"C:\Workspace\Config .json"));55 arguments.Add(new StringArgument(@"C:\Workspace\ Output.json"));55 arguments.Add(new OpenArgument(@"C:\Workspace\ConfigStarter\Template.json")); 56 arguments.Add(new OpenArgument(@"C:\Workspace\ConfigStarter\Config.json")); 57 arguments.Add(new StringArgument(@"C:\Workspace\ConfigStarter\Output.json")); 56 58 57 59 app.Run(arguments.ToArray()); … … 65 67 i.Active = true; 66 68 } 69 /* 70 if(x.Name == "Dataset" && x is DoubleMatrixJsonItem mat) { 71 mat.Value = new double[5][]; 72 mat.RowNames = new string[] { "R1", "R2", "R3" }; 73 for(int j = 0; j < 5; ++j) { 74 mat.Value[j] = new double[10]; 75 } 76 }*/ 67 77 } 68 78 }
Note: See TracChangeset
for help on using the changeset viewer.