Changeset 8328
- Timestamp:
- 07/25/12 15:44:32 (12 years ago)
- Location:
- branches/ScatterSearch (trunk integration)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Optimization.Operators/3.3/SingleObjectivePathRelinker.cs
r8319 r8328 71 71 72 72 public sealed override IOperation Apply() { 73 // possible composite solutions here ...74 73 ItemArray<IItem> relinkedSolutions = Relink(Parents, RelinkingAccuracy); 75 74 var offspringScope = new Scope("Offspring"); -
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Knapsack/3.3/SimilarityCalculators/KnapsackSimilarityCalculator.cs
r8327 r8328 45 45 public static double CalculateSimilarity(BinaryVector left, BinaryVector right) { 46 46 if (left == null || right == null) 47 throw new ArgumentException("Cannot calculate diversity because one or both of the provided scopes is null.");47 throw new ArgumentException("Cannot calculate similarity because one or both of the provided scopes is null."); 48 48 if (left.Length != right.Length) 49 49 throw new ArgumentException("Cannot calculate similarity because the provided solutions have different lengths.");
Note: See TracChangeset
for help on using the changeset viewer.