Changeset 8331 for branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Instances.VehicleRouting/3.4/VRPInstanceProvider.cs
- Timestamp:
- 07/26/12 09:51:13 (12 years ago)
- Location:
- branches/ScatterSearch (trunk integration)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Instances.VehicleRouting/3.4/VRPInstanceProvider.cs
r8086 r8331 106 106 107 107 protected abstract T LoadData(Stream stream); 108 public override void SaveData(T instance, string path) {109 throw new NotSupportedException();110 }111 108 112 public IVRPData LoadData(string vrpFile, string tourFile) {113 var data = LoadData(vrpFile);109 public IVRPData Import(string vrpFile, string tourFile) { 110 var data = ImportData(vrpFile); 114 111 if (!String.IsNullOrEmpty(tourFile)) { 115 112 LoadSolution(tourFile, data); 116 113 } 117 114 return data; 115 } 116 117 public void Export(IVRPData instance, string path) { 118 ExportData((T)instance, path); 118 119 } 119 120
Note: See TracChangeset
for help on using the changeset viewer.