internal static IEnumerable <IHashableFeature> CreateFeatures(Pair <NEC, Hla> necAndHla) { CloseHumanTable(); Debug.Assert(MaxMaxMismatches != int.MinValue); // real assert for (int maxMismatches = 0; maxMismatches <= MaxMaxMismatches; ++maxMismatches) { if (CloseHuman.IsCloseHuman(necAndHla, maxMismatches)) { CloseHuman featureCloseHuman = CloseHuman.GetInstance(maxMismatches); yield return(featureCloseHuman); } } }