Changeset 9363 for branches/OaaS/HeuristicLab.Problems.Instances.QAPLIB/3.3/QAPLIBInstanceProvider.cs
- Timestamp:
- 04/16/13 13:13:41 (12 years ago)
- Location:
- branches/OaaS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 23 24 packages
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/OaaS/HeuristicLab.Problems.Instances.QAPLIB/3.3/QAPLIBInstanceProvider.cs
r8192 r9363 32 32 #region Reversed instances 33 33 // These instances specified their best known solution in the wrong order 34 private static HashSet<string> reversedSolutions = new HashSet<string>(new string[] { 35 "bur26a", 36 "bur26b", 37 "bur26c", 38 "bur26d", 39 "bur26e", 40 "bur26f", 41 "bur26g", 42 "bur26h", 43 "chr12a", 44 "chr12b", 45 "chr12c", 46 "chr15a", 47 "chr15b", 48 "chr15c", 49 "chr18a", 50 "chr18b", 51 "chr20a", 52 "chr20b", 53 "chr20c", 54 "chr22a", 55 "chr22b", 56 "chr25a", 57 "esc16a", 58 "esc16b", 59 "esc16c", 60 "esc16d", 61 "esc16e", 62 "esc16g", 63 "esc16h", 64 "esc16i", 65 "esc16j", 66 "esc32a", 67 "esc32e", 68 "esc32f", 69 "esc32g", 70 "had12", 71 "had14", 72 "had16", 73 "had18", 74 "had20", 75 "kra32", 76 "lipa20a", 77 "lipa30a", 78 "lipa40a", 79 "lipa50a", 80 "lipa60a", 81 "lipa70a", 82 "lipa80a", 83 "lipa90a", 84 "nug12", 85 "nug14", 86 "nug15", 87 "nug16a", 88 "nug16b", 89 "nug17", 90 "nug18", 91 "nug20", 92 "nug21", 93 "nug22", 94 "nug24", 95 "nug25", 96 "nug27", 97 "nug28", 98 "rou12", 99 "rou15", 100 "rou20", 101 "scr12", 102 "scr15", 103 "scr20", 104 "sko100a", 105 "sko100b", 106 "sko100c", 107 "sko100d", 108 "sko100e", 109 "sko100f", 110 "sko49", 111 "sko81", 112 "sko90", 113 "ste36a", 114 "ste36b", 115 "tai100a", 116 "tai100b", 117 "tai12a", 118 "tai12b", 119 "tai150b", 120 "tai15a", 121 "tai15b", 122 "tai17a", 123 "tai20a", 124 "tai20b", 125 "tai256c", 126 "tai25a", 127 "tai25b", 128 "tai30b", 129 "tai35b", 130 "tai40b", 131 "tai50a", 132 "tai50b", 133 "tai60a", 134 "tai60b", 135 "tai64c", 136 "tai80a", 137 "tai80b", 138 "wil100" 139 }); 34 protected virtual HashSet<string> ReversedSolutions { 35 get { 36 return new HashSet<string>(new string[] { 37 "bur26a", 38 "bur26b", 39 "bur26c", 40 "bur26d", 41 "bur26e", 42 "bur26f", 43 "bur26g", 44 "bur26h", 45 "chr12a", 46 "chr12b", 47 "chr12c", 48 "chr15a", 49 "chr15b", 50 "chr15c", 51 "chr18a", 52 "chr18b", 53 "chr20a", 54 "chr20b", 55 "chr20c", 56 "chr22a", 57 "chr22b", 58 "chr25a", 59 "esc16a", 60 "esc16b", 61 "esc16c", 62 "esc16d", 63 "esc16e", 64 "esc16g", 65 "esc16h", 66 "esc16i", 67 "esc16j", 68 "esc32a", 69 "esc32b", 70 "esc32c", 71 "esc32d", 72 "esc32e", 73 "esc32f", 74 "esc32g", 75 "esc32h", 76 "had12", 77 "had14", 78 "had16", 79 "had18", 80 "had20", 81 "kra32", 82 "lipa20a", 83 "lipa30a", 84 "lipa40a", 85 "lipa50a", 86 "lipa60a", 87 "lipa70a", 88 "lipa80a", 89 "lipa90a", 90 "nug12", 91 "nug14", 92 "nug15", 93 "nug16a", 94 "nug16b", 95 "nug17", 96 "nug18", 97 "nug20", 98 "nug21", 99 "nug22", 100 "nug24", 101 "nug25", 102 "nug27", 103 "nug28", 104 "rou12", 105 "rou15", 106 "rou20", 107 "scr12", 108 "scr15", 109 "scr20", 110 "sko100a", 111 "sko100b", 112 "sko100c", 113 "sko100d", 114 "sko100e", 115 "sko100f", 116 "sko49", 117 "sko81", 118 "sko90", 119 "ste36a", 120 "ste36b", 121 "tai100a", 122 "tai100b", 123 "tai12a", 124 "tai12b", 125 "tai150b", 126 "tai15a", 127 "tai15b", 128 "tai17a", 129 "tai20a", 130 "tai20b", 131 "tai256c", 132 "tai25a", 133 "tai25b", 134 "tai30a", 135 "tai30b", 136 "tai35a", 137 "tai35b", 138 "tai40a", 139 "tai40b", 140 "tai50a", 141 "tai50b", 142 "tai60a", 143 "tai60b", 144 "tai64c", 145 "tai80a", 146 "tai80b", 147 "wil100" 148 }); 149 } 150 } 140 151 #endregion 141 152 … … 160 171 } 161 172 162 pr ivate const string FileName = "qap";173 protected virtual string FileName { get { return "qap"; } } 163 174 164 175 public override IEnumerable<IDataDescriptor> GetDataDescriptors() { … … 204 215 205 216 int[] assignment = slnParser.Assignment; 206 if ( reversedSolutions.Contains(instance.Name)) {217 if (assignment != null && ReversedSolutions.Contains(instance.Name)) { 207 218 assignment = (int[])slnParser.Assignment.Clone(); 208 219 for (int i = 0; i < assignment.Length; i++)
Note: See TracChangeset
for help on using the changeset viewer.