Changeset 8247
- Timestamp:
- 07/06/12 09:59:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior/3.3/AlgorithmBehaviorHelpers.cs
r8237 r8247 59 59 public static string CalculateBrokenInheritanceOccurrences(IntArray schema, GenealogyGraphNode individual) { 60 60 ISet<int> generations = new SortedSet<int>(); 61 if (IsMatch(schema, ((Permutation)individual.Data).ToArray())) generations.Add(0);62 61 var filteredDescendants = individual.Descendants().Where(x => IsMatch(schema, ((Permutation)x.Data).ToArray())); 63 62 if (filteredDescendants.Any()) {
Note: See TracChangeset
for help on using the changeset viewer.