Changeset 16137 for branches/2457_ExpertSystem/HeuristicLab.Analysis.FitnessLandscape/3.3/ProblemInstanceAnalysis/QAPPRProblemInstanceAnalyzer.cs
- Timestamp:
- 09/12/18 15:12:29 (6 years ago)
- Location:
- branches/2457_ExpertSystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2457_ExpertSystem
- Property svn:ignore
-
old new 5 5 .gitignore 6 6 .vs 7 packages
-
- Property svn:ignore
-
branches/2457_ExpertSystem/HeuristicLab.Analysis.FitnessLandscape/3.3/ProblemInstanceAnalysis/QAPPRProblemInstanceAnalyzer.cs
r14691 r16137 49 49 if (trajectories.Count == 0) return null; 50 50 51 return new DoubleArray(PermutationPathAnalysis.GetCharacteristics(trajectories).GetValues().ToArray()); 51 var result = CurveAnalysis<Permutation>.GetCharacteristics(trajectories, (left, right) => (1.0 - HammingSimilarityCalculator.CalculateSimilarity(left, right)) * left.Length); 52 return new DoubleArray(result.GetValues().ToArray()); 52 53 } 53 54 }
Note: See TracChangeset
for help on using the changeset viewer.