Changeset 5648 for branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/Parsers/QAPLIBSolutionParser.cs
- Timestamp:
- 03/10/11 01:49:10 (13 years ago)
- Location:
- branches/QAP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/QAP
- Property svn:ignore
-
old new 1 1 *.suo 2 TestResults
-
- Property svn:ignore
-
branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/Parsers/QAPLIBSolutionParser.cs
r5598 r5648 38 38 try { 39 39 StreamReader reader = new StreamReader(stream); 40 char[] delim = new char[] { ' ' };40 char[] delim = new char[] { ' ', ',' }; // comma is added for nug30.sln which is the only file that separates the permutation with commas 41 41 string[] firstline = reader.ReadLine().Split(delim, StringSplitOptions.RemoveEmptyEntries); 42 42 Size = int.Parse(firstline[0]);
Note: See TracChangeset
for help on using the changeset viewer.