Example #1
0
 private List <TraitList <T> > GetMinLists(Trait <T> trait, int minThrehsold)
 => _lists.Where(list => list.TraitCount(trait) <= minThrehsold).ToList();
Example #2
0
 public int TraitCount(Trait <T> trait)
 => _countsByTrait[trait];