Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/01/12 15:15:22 (13 years ago)
Author:
abeham
Message:

#1614

  • Fixed plugin dependencies
  • Updated GQAP view
  • Changed instances infrastructure
    • Changed interface types into classes
    • Removed the library specific instance classes
Location:
branches/GeneralizedQAP/UnitTests
Files:
5 edited

Legend:

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

    r7523 r7538  
    3434    public void CordeauCrossoverFunctionalityTest() {
    3535      var provider = new CordeauGQAPInstanceProvider();
    36       var instance = provider.GetInstance(provider.GetInstanceDescriptors().First());
     36      var instance = provider.LoadInstance(provider.GetInstanceDescriptors().First());
    3737      var gqap = new GeneralizedQuadraticAssignmentProblem();
    3838      gqap.LoadFrom(instance);
  • branches/GeneralizedQAP/UnitTests/CordeauGQAPInstanceProviderTest.cs

    r7505 r7538  
    3636      foreach (var id in target.GetInstanceDescriptors()) {
    3737        try {
    38           target.GetInstance(id);
     38          target.LoadInstance(id);
    3939        } catch (Exception ex) {
    4040          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
  • branches/GeneralizedQAP/UnitTests/ElloumiCTAPInstanceProviderTest.cs

    r7505 r7538  
    3636      foreach (var id in target.GetInstanceDescriptors()) {
    3737        try {
    38           target.GetInstance(id);
     38          target.LoadInstance(id);
    3939        } catch (Exception ex) {
    4040          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
  • branches/GeneralizedQAP/UnitTests/QAPLIBInstanceProviderTest.cs

    r7523 r7538  
    3737      foreach (var id in target.GetInstanceDescriptors()) {
    3838        try {
    39           target.GetInstance(id);
     39          target.LoadInstance(id);
    4040        } catch (Exception ex) {
    4141          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
     
    5555      var target = new QAPLIBInstanceProvider();
    5656      foreach (var id in target.GetInstanceDescriptors()) {
    57         var instance = target.GetInstance(id);
     57        var instance = target.LoadInstance(id);
    5858        for (int i = 0; i < instance.Dimension; i++)
    5959          if (instance.Distances[i, i] != 0 || instance.Weights[i, i] != 0) {
  • branches/GeneralizedQAP/UnitTests/TSPLIBInstanceProviderTest.cs

    r7505 r7538  
    3636      foreach (var id in target.GetInstanceDescriptors()) {
    3737        try {
    38           target.GetInstance(id);
     38          target.LoadInstance(id);
    3939        } catch (Exception ex) {
    4040          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
     
    5353      foreach (var id in target.GetInstanceDescriptors()) {
    5454        try {
    55           target.GetInstance(id);
     55          target.LoadInstance(id);
    5656        } catch (Exception ex) {
    5757          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
     
    7070      foreach (var id in target.GetInstanceDescriptors()) {
    7171        try {
    72           target.GetInstance(id);
     72          target.LoadInstance(id);
    7373        } catch (Exception ex) {
    7474          erroneousInstances.AppendLine(id.Name + ": " + ex.Message);
Note: See TracChangeset for help on using the changeset viewer.