Changeset 9730 for branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers
- Timestamp:
- 07/22/13 12:05:19 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/SolutionsCaching/PermutationSolutionDictionary.cs
r9728 r9730 92 92 return solutionDictionary.Where(x => x.Key.ElementType == ElementType.Complete).Count(); 93 93 } 94 95 public List<PermutationWrapper> GetSolutionsFromGeneration(int generation) { 96 return solutionDictionary.Where(x => x.Value.Where(y => y.Generation == generation).Count() != 0).Select(x => x.Key).ToList<PermutationWrapper>(); 97 } 94 98 } 95 99 }
Note: See TracChangeset
for help on using the changeset viewer.