Changeset 14544 for branches/MemPRAlgorithm/HeuristicLab.Algorithms.MemPR/3.3/LinearLinkage/LocalSearch/StaticAPI
- Timestamp:
- 01/05/17 00:32:43 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/MemPRAlgorithm/HeuristicLab.Algorithms.MemPR/3.3/LinearLinkage/LocalSearch/StaticAPI/ExhaustiveLocalSearch.cs
r14477 r14544 26 26 using HeuristicLab.Collections; 27 27 using HeuristicLab.Core; 28 29 namespace HeuristicLab.Algorithms.MemPR.LinearLinkage.LocalSearch { 28 using HeuristicLab.Encodings.LinearLinkageEncoding; 29 30 namespace HeuristicLab.Algorithms.MemPR.Grouping.LocalSearch { 30 31 public static class ExhaustiveLocalSearch { 31 public static Tuple<int, int> Optimize(IRandom random, Encodings.LinearLinkageEncoding.LinearLinkage solution, ref double quality, bool maximization, Func<Encodings.LinearLinkageEncoding.LinearLinkage, IRandom, double> eval, CancellationToken token, bool[] subspace = null) {32 public static Tuple<int, int> Optimize(IRandom random, LinearLinkage solution, ref double quality, bool maximization, Func<LinearLinkage, IRandom, double> eval, CancellationToken token, bool[] subspace = null) { 32 33 var evaluations = 0; 33 34 var current = solution; … … 153 154 } 154 155 155 public static Tuple<int, int> OptimizeSwapOnly(IRandom random, Encodings.LinearLinkageEncoding.LinearLinkage solution, ref double quality, bool maximization, Func<Encodings.LinearLinkageEncoding.LinearLinkage, IRandom, double> eval, CancellationToken token) {156 public static Tuple<int, int> OptimizeSwapOnly(IRandom random, LinearLinkage solution, ref double quality, bool maximization, Func<LinearLinkage, IRandom, double> eval, CancellationToken token) { 156 157 var evaluations = 0; 157 158 var current = solution;
Note: See TracChangeset
for help on using the changeset viewer.