Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/05/11 21:22:29 (13 years ago)
Author:
abeham
Message:

#1619

  • Moved QAPLIB files from the problem plugin to the test plugin
  • Updated unit test
  • Moved service reference to the problem plugin (from the views plugin)
  • Created a simple test list for our most common tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/HeuristicLab.Services.ProblemInstances/3.3/QAP/QAP.svc.cs

    r6733 r6875  
    3030    }
    3131
     32    public string[] GetProblemInstancesOfSize(int minSize, int maxSize) {
     33      using (ProblemInstancesEntities context = new ProblemInstancesEntities()) {
     34        return context.QAPInstances.Where(x => x.ProblemSize >= minSize && x.ProblemSize <= maxSize).Select(x => x.Name).ToArray();
     35      }
     36    }
     37
    3238    public QAPInstanceDto GetProblemInstanceData(string instance) {
    3339      using (ProblemInstancesEntities context = new ProblemInstancesEntities()) {
Note: See TracChangeset for help on using the changeset viewer.