Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/27/20 15:53:26 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • added error output for failed runner initialization
  • reorganised some final view models
  • TargetedJsonItemType (in JsonItemVMBase) now automatically returns the type of the defined JsonItem
  • code cleanup
  • refactored RegressionProblemDataConverter
  • added lots of comments
  • added new view for StringArrayJsonItem
  • added new UI component for concrete restricted items and used it in JsonItemConcreteItemArrayControl and JsonItemValidValuesControl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/Heuristiclab.ConfigStarter/Program.cs

    r17483 r17519  
    3030      HEAL.Attic.Mapper.StaticCache.UpdateRegisteredTypes();
    3131
    32 
     32     
    3333      HeuristicLabJsonInterfaceAppApplication app = new HeuristicLabJsonInterfaceAppApplication();
    3434
     
    4747      ActivateJsonItems(root);
    4848
    49       JCGenerator.GenerateTemplate(@"C:\Workspace", "Template", alg, root);
    5049     
     50      JCGenerator.GenerateTemplate(@"C:\Workspace\ConfigStarter\", "Template", alg, root);
     51     
     52
    5153      List<ICommandLineArgument> arguments = new List<ICommandLineArgument>();
    5254      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"));
    5658
    5759      app.Run(arguments.ToArray());
     
    6567          i.Active = true;
    6668        }
     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        }*/
    6777      }
    6878    }
Note: See TracChangeset for help on using the changeset viewer.