Changeset 13412 for branches/PTSP/HeuristicLab.Problems.Instances.TSPLIB/3.3/TSPLIBInstanceProvider.cs
- Timestamp:
- 11/28/15 23:38:51 (9 years ago)
- Location:
- branches/PTSP/HeuristicLab.Problems.Instances.TSPLIB
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/PTSP/HeuristicLab.Problems.Instances.TSPLIB/3.3/TSPLIBInstanceProvider.cs
r12012 r13412 45 45 protected abstract string FileExtension { get; } 46 46 47 protected abstract T LoadInstance(TSPLIBParser parser );47 protected abstract T LoadInstance(TSPLIBParser parser, IDataDescriptor descriptor = null); 48 48 protected abstract void LoadSolution(TSPLIBParser parser, T instance); 49 49 … … 74 74 var stream = entry.Open(); 75 75 var parser = new TSPLIBParser(stream); 76 var instance = LoadInstance(parser );76 var instance = LoadInstance(parser, id); 77 77 78 78 if (!String.IsNullOrEmpty(descriptor.SolutionIdentifier)) {
Note: See TracChangeset
for help on using the changeset viewer.