Changeset 6571 for trunk/sources/HeuristicLab.Problems.QuadraticAssignment
- Timestamp:
- 07/18/11 00:18:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs
r6540 r6571 157 157 ItemList<Permutation> list = ((OptionalValueParameter<ItemList<Permutation>>)Parameters["BestKnownSolutions"]).Value; 158 158 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))); 160 160 } 161 161 if (Parameters.ContainsKey("DistanceMatrix")) {
Note: See TracChangeset
for help on using the changeset viewer.