Changeset 7538 for branches/GeneralizedQAP/UnitTests
- Timestamp:
- 03/01/12 15:15:22 (13 years ago)
- Location:
- branches/GeneralizedQAP/UnitTests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/UnitTests/CordeauCrossoverTest.cs
r7523 r7538 34 34 public void CordeauCrossoverFunctionalityTest() { 35 35 var provider = new CordeauGQAPInstanceProvider(); 36 var instance = provider. GetInstance(provider.GetInstanceDescriptors().First());36 var instance = provider.LoadInstance(provider.GetInstanceDescriptors().First()); 37 37 var gqap = new GeneralizedQuadraticAssignmentProblem(); 38 38 gqap.LoadFrom(instance); -
branches/GeneralizedQAP/UnitTests/CordeauGQAPInstanceProviderTest.cs
r7505 r7538 36 36 foreach (var id in target.GetInstanceDescriptors()) { 37 37 try { 38 target. GetInstance(id);38 target.LoadInstance(id); 39 39 } catch (Exception ex) { 40 40 erroneousInstances.AppendLine(id.Name + ": " + ex.Message); -
branches/GeneralizedQAP/UnitTests/ElloumiCTAPInstanceProviderTest.cs
r7505 r7538 36 36 foreach (var id in target.GetInstanceDescriptors()) { 37 37 try { 38 target. GetInstance(id);38 target.LoadInstance(id); 39 39 } catch (Exception ex) { 40 40 erroneousInstances.AppendLine(id.Name + ": " + ex.Message); -
branches/GeneralizedQAP/UnitTests/QAPLIBInstanceProviderTest.cs
r7523 r7538 37 37 foreach (var id in target.GetInstanceDescriptors()) { 38 38 try { 39 target. GetInstance(id);39 target.LoadInstance(id); 40 40 } catch (Exception ex) { 41 41 erroneousInstances.AppendLine(id.Name + ": " + ex.Message); … … 55 55 var target = new QAPLIBInstanceProvider(); 56 56 foreach (var id in target.GetInstanceDescriptors()) { 57 var instance = target. GetInstance(id);57 var instance = target.LoadInstance(id); 58 58 for (int i = 0; i < instance.Dimension; i++) 59 59 if (instance.Distances[i, i] != 0 || instance.Weights[i, i] != 0) { -
branches/GeneralizedQAP/UnitTests/TSPLIBInstanceProviderTest.cs
r7505 r7538 36 36 foreach (var id in target.GetInstanceDescriptors()) { 37 37 try { 38 target. GetInstance(id);38 target.LoadInstance(id); 39 39 } catch (Exception ex) { 40 40 erroneousInstances.AppendLine(id.Name + ": " + ex.Message); … … 53 53 foreach (var id in target.GetInstanceDescriptors()) { 54 54 try { 55 target. GetInstance(id);55 target.LoadInstance(id); 56 56 } catch (Exception ex) { 57 57 erroneousInstances.AppendLine(id.Name + ": " + ex.Message); … … 70 70 foreach (var id in target.GetInstanceDescriptors()) { 71 71 try { 72 target. GetInstance(id);72 target.LoadInstance(id); 73 73 } catch (Exception ex) { 74 74 erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
Note: See TracChangeset
for help on using the changeset viewer.