Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6570


Ignore:
Timestamp:
07/18/11 00:17:19 (13 years ago)
Author:
abeham
Message:

#1586

  • fixed in branch
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/QAPAlgorithms/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs

    r6569 r6570  
    157157        ItemList<Permutation> list = ((OptionalValueParameter<ItemList<Permutation>>)Parameters["BestKnownSolutions"]).Value;
    158158        Parameters.Remove("BestKnownSolutions");
    159         Parameters.Add(new OptionalValueParameter<ItemSet<Permutation>>("BestKnownSolutions", "The list of best known solutions which is updated whenever a new better solution is found or may be the optimal solution if it is known beforehand.", new ItemSet<Permutation>(list)));
     159        Parameters.Add(new OptionalValueParameter<ItemSet<Permutation>>("BestKnownSolutions", "The list of best known solutions which is updated whenever a new better solution is found or may be the optimal solution if it is known beforehand.", (list != null ? new ItemSet<Permutation>(list) : null)));
    160160      }
    161161      if (Parameters.ContainsKey("DistanceMatrix")) {
Note: See TracChangeset for help on using the changeset viewer.