Changeset 15490 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Analyzers
- Timestamp:
- 12/04/17 23:00:03 (7 years ago)
- Location:
- branches/GeneralizedQAP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP
- Property svn:ignore
-
old new 2 2 TestResults 3 3 *.user 4 .vs
-
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Analyzers/GQAPPopulationDiversityAnalyzer.cs
r7438 r15490 27 27 using HeuristicLab.Parameters; 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HeuristicLab.Problems.GeneralizedQuadraticAssignment.Common;30 29 31 30 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Analyzers { … … 71 70 for (int i = 0; i < solutions.Length - 1; i++) 72 71 for (int j = i + 1; j < solutions.Length; j++) { 73 result[i, j] = IntegerVectorEqualityComparer.GetSimilarity(solutions[i], solutions[j]);72 result[i, j] = HammingSimilarityCalculator.CalculateSimilarity(solutions[i], solutions[j]); 74 73 result[j, i] = result[i, j]; 75 74 }
Note: See TracChangeset
for help on using the changeset viewer.