Last change
on this file since 17399 was
17395,
checked in by dpiringe, 5 years ago
|
#3026:
- moved from usage of IAlgorithm to IOptimizer (in JCGenerator and JsonTemplateInstantiator)
- added new converter: AlgorithmConverter
|
File size:
785 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.JsonInterface {
|
---|
8 | /// <summary>
|
---|
9 | /// Constants for reading/writing templates.
|
---|
10 | /// </summary>
|
---|
11 | internal class Constants {
|
---|
12 |
|
---|
13 | internal const string Metadata = "Metadata";
|
---|
14 | internal const string Optimizer = "Optimizer";
|
---|
15 | internal const string Problem = "Problem";
|
---|
16 | internal const string HLFileLocation = "HLFileLocation";
|
---|
17 | internal const string Parameters = "Parameters";
|
---|
18 |
|
---|
19 | internal const string Template = @"{
|
---|
20 | '" + Metadata + @"': {
|
---|
21 | '" + Optimizer + @"':'',
|
---|
22 | '" + Problem + @"':'',
|
---|
23 | '" + HLFileLocation + @"':''
|
---|
24 | },
|
---|
25 | '" + Parameters + @"': []
|
---|
26 | }";
|
---|
27 | }
|
---|
28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.