Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8878 for trunk/sources


Ignore:
Timestamp:
11/07/12 16:50:33 (12 years ago)
Author:
mkommend
Message:

#1942: Fixed compiler error in CSV import functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/DataAnalysisInstanceProvider.cs

    r8877 r8878  
    3535    where ImportType : DataAnalysisImportType {
    3636
    37     // has to be implemented, if CanImportData is true
    38     public TData ImportData(string path, ImportType type) {
    39       TableFileParser csvFileParser = new TableFileParser();
    40       csvFileParser.Parse(path);
    41       return ImportData(path, type, csvFileParser);
    42     }
     37
    4338    public TData ImportData(string path, ImportType type, DataAnalysisCSVFormat csvFormat) {
    4439      TableFileParser csvFileParser = new TableFileParser();
     
    4742    }
    4843
    49     protected abstract TData ImportData(string path, ImportType type, TableFileParser csvFileParser);
     44    protected virtual TData ImportData(string path, ImportType type, TableFileParser csvFileParser) {
     45      throw new NotSupportedException();
     46    }
    5047
    5148    protected List<IList> Shuffle(List<IList> values) {
Note: See TracChangeset for help on using the changeset viewer.