- Timestamp:
- 08/06/12 14:23:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Operators/3.3/SolutionSimilarityCalculator.cs
r8334 r8413 69 69 70 70 var similarityMatrix = new double[individuals.Count][]; 71 for (int i = 0; i < individuals.Count; i++) similarityMatrix[i] = new double[individuals.Count]; 72 71 73 for (int i = 0; i < individuals.Count; i++) { 72 similarityMatrix[i] = new double[individuals.Count];73 74 for (int j = i; j < individuals.Count; j++) { 74 75 similarityMatrix[i][j] = similarityMatrix[j][i] = CalculateSolutionSimilarity(individuals[i], individuals[j]);
Note: See TracChangeset
for help on using the changeset viewer.