Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/29/08 11:37:13 (16 years ago)
Author:
gkronber
Message:

fixed #206

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataAnalysis/DatasetParser.cs

    r363 r397  
    3737    private const string VALIDATIONSAMPLESSTART = "VALIDATIONSAMPLESSTART";
    3838    private const string VALIDATIONSAMPLESEND = "VALIDATIONSAMPLESEND";
     39    private const string TESTSAMPLESSTART = "TESTSAMPLESSTART";
     40    private const string TESTSAMPLESEND = "TESTSAMPLESEND";
    3941    private Tokenizer tokenizer;
    4042    private Dictionary<string, List<Token>> metadata;
     
    138140        if(metadata.ContainsKey(VALIDATIONSAMPLESEND)) {
    139141          return metadata[VALIDATIONSAMPLESEND][0].intValue;
     142        } else return rows;
     143      }
     144    }
     145    public int TestSamplesStart {
     146      get {
     147        if(metadata.ContainsKey(TESTSAMPLESSTART)) {
     148          return metadata[TESTSAMPLESSTART][0].intValue;
     149        } else return 0;
     150      }
     151    }
     152
     153    public int TestSamplesEnd {
     154      get {
     155        if(metadata.ContainsKey(TESTSAMPLESEND)) {
     156          return metadata[TESTSAMPLESEND][0].intValue;
    140157        } else return rows;
    141158      }
Note: See TracChangeset for help on using the changeset viewer.