Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/03/12 13:41:36 (12 years ago)
Author:
sforsten
Message:

#1782:

  • renamed CanSave to CanExportData and SaveData to ExportData
  • added the same functionality for importing problem instance as we implemented for exporting
  • some special changes had to be made in Problems.Instances.VehicleRouting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.VehicleRouting/3.4/SolomonFormat/SolomonFormatInstanceProvider.cs

    r7882 r8192  
    2020#endregion
    2121
    22 using System;
    23 using System.Collections.Generic;
    2422using System.IO;
    25 using System.Linq;
    26 using System.Reflection;
    27 using System.Text.RegularExpressions;
    28 using ICSharpCode.SharpZipLib.Zip;
    29 using HeuristicLab.Problems.Instances.TSPLIB;
    3023
    3124namespace HeuristicLab.Problems.Instances.VehicleRouting {
     
    3528    }
    3629
    37     public override CVRPTWData LoadData(string path) {
     30    public override bool CanImportData {
     31      get { return true; }
     32    }
     33    public override CVRPTWData ImportData(string path) {
    3834      return LoadInstance(new SolomonParser(path));
    3935    }
Note: See TracChangeset for help on using the changeset viewer.