- Timestamp:
- 06/24/12 13:56:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.QuadraticAssignment/3.3/BoundsCalculators/GilmoreLawlerBoundCalculator.cs
r7877 r8092 35 35 for (int k = 0; k < N - 1; k++) 36 36 costs[i, j] += sortedWeights[i, k] * sortedDistances[j, N - 2 - k]; 37 costs[i, j] += weights[i, i] * distances[j, j];37 costs[i, j] += sortedWeights[i, N - 1] * sortedDistances[j, N - 1]; 38 38 } 39 39 }
Note: See TracChangeset
for help on using the changeset viewer.