Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/28/17 23:33:27 (8 years ago)
Author:
pkimmesw
Message:

#2665 Set name properties of ERC values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Views/ViewHelper.cs

    r14875 r14898  
    33    public static string StringifyInput(ExampleArgumentType type, Example example, string valueSeparator) {
    44      switch (type) {
    5         case ExampleArgumentType.Integer:
    6         case ExampleArgumentType.IntegerVector: return string.Join(valueSeparator, example.InputInteger);
     5        case ExampleArgumentType.Integer: return string.Join(valueSeparator, example.InputInteger);
     6        //case ExampleArgumentType.IntegerVector: return string.Join(valueSeparator, example.InputInteger);
    77
    8         case ExampleArgumentType.Float:
    9         case ExampleArgumentType.FloatVector: return string.Join(valueSeparator, example.InputFloat);
     8        case ExampleArgumentType.Float: return string.Join(valueSeparator, example.InputFloat);
     9        //case ExampleArgumentType.FloatVector: return string.Join(valueSeparator, example.InputFloat);
    1010
    1111        case ExampleArgumentType.Boolean: return string.Join(valueSeparator, example.InputBoolean);
    1212        case ExampleArgumentType.Char: return string.Join(valueSeparator, example.InputChar);
    1313
    14         case ExampleArgumentType.String:
    15         case ExampleArgumentType.StringVector: return string.Join(valueSeparator, example.InputString);
     14        case ExampleArgumentType.String: return string.Join(valueSeparator, example.InputString);
     15        //case ExampleArgumentType.StringVector: return string.Join(valueSeparator, example.InputString);
    1616        default: return string.Empty;
    1717      }
     
    2020    public static string StringifyOutput(ExampleArgumentType type, Example example, string valueSeparator) {
    2121      switch (type) {
    22         case ExampleArgumentType.Integer:
    23         case ExampleArgumentType.IntegerVector: return string.Join(valueSeparator, example.OutputInteger);
     22        case ExampleArgumentType.Integer: return string.Join(valueSeparator, example.OutputInteger);
     23        //case ExampleArgumentType.IntegerVector: return string.Join(valueSeparator, example.OutputIntegerVector);
    2424
    25         case ExampleArgumentType.Float:
    26         case ExampleArgumentType.FloatVector: return string.Join(valueSeparator, example.OutputFloat);
     25        case ExampleArgumentType.Float: return string.Join(valueSeparator, example.OutputFloat);
     26        //case ExampleArgumentType.FloatVector: return string.Join(valueSeparator, example.OutputFloat);
    2727
    2828        case ExampleArgumentType.Boolean: return string.Join(valueSeparator, example.OutputBoolean);
    2929        case ExampleArgumentType.Char: return string.Join(valueSeparator, example.OutputChar);
    3030
    31         case ExampleArgumentType.String:
    32         case ExampleArgumentType.StringVector: return string.Join(valueSeparator, example.OutputString);
     31        case ExampleArgumentType.String: return string.Join(valueSeparator, example.OutputString);
     32        //case ExampleArgumentType.StringVector: return string.Join(valueSeparator, example.OutputString);
    3333        default: return string.Empty;
    3434      }
Note: See TracChangeset for help on using the changeset viewer.