Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/05/12 16:30:27 (12 years ago)
Author:
abeham
Message:

#1614: changed according to architects review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/UnitTests/TSPLIBInstanceProviderTest.cs

    r7538 r7548  
    3434      StringBuilder erroneousInstances = new StringBuilder();
    3535      int count = 0;
    36       foreach (var id in target.GetInstanceDescriptors()) {
     36      foreach (var id in target.GetDataDescriptors()) {
    3737        try {
    38           target.LoadInstance(id);
     38          target.LoadData(id);
    3939        } catch (Exception ex) {
    4040          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
     
    5151      StringBuilder erroneousInstances = new StringBuilder();
    5252      int count = 0;
    53       foreach (var id in target.GetInstanceDescriptors()) {
     53      foreach (var id in target.GetDataDescriptors()) {
    5454        try {
    55           target.LoadInstance(id);
     55          target.LoadData(id);
    5656        } catch (Exception ex) {
    5757          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
     
    6868      StringBuilder erroneousInstances = new StringBuilder();
    6969      int count = 0;
    70       foreach (var id in target.GetInstanceDescriptors()) {
     70      foreach (var id in target.GetDataDescriptors()) {
    7171        try {
    72           target.LoadInstance(id);
     72          target.LoadData(id);
    7373        } catch (Exception ex) {
    7474          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
Note: See TracChangeset for help on using the changeset viewer.