Changeset 8451 for branches/HeuristicLab.Mono/HeuristicLab.Optimization.Operators/3.3/SolutionSimilarityCalculator.cs
- Timestamp:
- 08/08/12 23:59:16 (12 years ago)
- Location:
- branches/HeuristicLab.Mono
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Mono
- Property svn:mergeinfo changed
-
branches/HeuristicLab.Mono/HeuristicLab.Optimization.Operators/3.3/SolutionSimilarityCalculator.cs
r8334 r8451 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.