- Timestamp:
- 03/05/12 16:30:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/UnitTests/QAPLIBInstanceProviderTest.cs
r7538 r7548 35 35 StringBuilder erroneousInstances = new StringBuilder(); 36 36 int count = 0; 37 foreach (var id in target.Get InstanceDescriptors()) {37 foreach (var id in target.GetDataDescriptors()) { 38 38 try { 39 target.Load Instance(id);39 target.LoadData(id); 40 40 } catch (Exception ex) { 41 41 erroneousInstances.AppendLine(id.Name + ": " + ex.Message); … … 54 54 List<string> nonZeroDiagonalInstances = new List<string>(); 55 55 var target = new QAPLIBInstanceProvider(); 56 foreach (var id in target.Get InstanceDescriptors()) {57 var instance = target.Load Instance(id);56 foreach (var id in target.GetDataDescriptors()) { 57 var instance = target.LoadData(id); 58 58 for (int i = 0; i < instance.Dimension; i++) 59 59 if (instance.Distances[i, i] != 0 || instance.Weights[i, i] != 0) {
Note: See TracChangeset
for help on using the changeset viewer.