Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16974


Ignore:
Timestamp:
05/21/19 10:01:31 (6 years ago)
Author:
gkronber
Message:

#2925: Account for different file formats for datasets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/Instances/DataDescriptor.cs

    r16954 r16974  
    11using System.Collections.Generic;
     2using System.Globalization;
    23using HeuristicLab.Data;
    34using HeuristicLab.Problems.Instances;
     
    1213    public IEnumerable<IntRange> TestEpisodes { get; internal set; }
    1314    public string FileName { get; internal set; }
     15    public char Separator { get; internal set; }
     16    public NumberFormatInfo NumberFormat { get; internal set; }
     17
     18    public DataDescriptor() {
     19      Separator = '\0'; // all whitespace, \0 is especially handled in the text file parser
     20      NumberFormat = NumberFormatInfo.InvariantInfo;
     21    }
    1422  }
    1523}
Note: See TracChangeset for help on using the changeset viewer.