Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/Instances/DataDescriptor.cs @ 17270

Last change on this file since 17270 was 16974, checked in by gkronber, 6 years ago

#2925: Account for different file formats for datasets

File size: 982 bytes
Line 
1using System.Collections.Generic;
2using System.Globalization;
3using HeuristicLab.Data;
4using HeuristicLab.Problems.Instances;
5
6namespace HeuristicLab.Problems.DynamicalSystemsModelling.Instances {
7  public class DataDescriptor : IDataDescriptor {
8    public string Name { get; internal set; }
9    public string Description { get; internal set; }
10    public string[] TargetVariables { get; internal set; }
11    public string[] InputVariables { get; internal set; }
12    public IEnumerable<IntRange> TrainingEpisodes { get; internal set; }
13    public IEnumerable<IntRange> TestEpisodes { get; internal set; }
14    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    }
22  }
23}
Note: See TracBrowser for help on using the repository browser.