Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/12 01:43:06 (12 years ago)
Author:
abeham
Message:

#1782: trunk integration of problem instance development

  • Adapted TSP and QAP to use the new feature
  • Moved the TSPLIB importer dialog from the TSP plugin to the TSPLIB instances plugin (created a view for that provider)
  • Created it as a default view for IHeuristicOptimizationProblem in order not to interfere with other problems do not yet work with this
Location:
trunk/sources/HeuristicLab.Problems.Instances.QAPLIB
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.QAPLIB/3.3

    • Property svn:ignore
      •  

        old new  
        22obj
        33Plugin.cs
         4bin
  • trunk/sources/HeuristicLab.Problems.Instances.QAPLIB/3.3/QAPLIBParser.cs

    r7538 r7558  
    6060      char[] delim = new char[] { ' ' };
    6161
     62      Weights = ParseMatrix(reader, delim);
    6263      Distances = ParseMatrix(reader, delim);
    63       Weights = ParseMatrix(reader, delim);
    6464    }
    6565
     
    7373        string[] vals = valLine.Split(delim, StringSplitOptions.RemoveEmptyEntries);
    7474        foreach (string val in vals) {
    75           Distances[k, read++] = double.Parse(val);
     75          result[k, read++] = double.Parse(val);
    7676          if (read == Size) {
    7777            read = 0;
Note: See TracChangeset for help on using the changeset viewer.