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
|
Rev | Line | |
---|
[17287] | 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 {
|
---|
[17353] | 8 | /// <summary>
|
---|
| 9 | /// Constants for reading/writing templates.
|
---|
| 10 | /// </summary>
|
---|
[17287] | 11 | internal class Constants {
|
---|
| 12 |
|
---|
[17330] | 13 | internal const string Metadata = "Metadata";
|
---|
[17395] | 14 | internal const string Optimizer = "Optimizer";
|
---|
[17330] | 15 | internal const string Problem = "Problem";
|
---|
[17379] | 16 | internal const string HLFileLocation = "HLFileLocation";
|
---|
| 17 | internal const string Parameters = "Parameters";
|
---|
[17287] | 18 |
|
---|
[17330] | 19 | internal const string Template = @"{
|
---|
[17379] | 20 | '" + Metadata + @"': {
|
---|
[17395] | 21 | '" + Optimizer + @"':'',
|
---|
[17379] | 22 | '" + Problem + @"':'',
|
---|
| 23 | '" + HLFileLocation + @"':''
|
---|
[17287] | 24 | },
|
---|
[17379] | 25 | '" + Parameters + @"': []
|
---|
[17287] | 26 | }";
|
---|
| 27 | }
|
---|
| 28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.