public IEnumerable <string> Hypothesise() { int n = 1; while (true) { foreach (var hypothesis in Combine(n)) { var h = string.Concat(hypothesis); if (GusLProcessor.IsGoodGusl(h)) { yield return(h); } } n++; } }
public Gus() { _processor = new GusLProcessor(); _memory = new List <string>(); _memory.AddRange(GusLProcessor.GusLAtoms.Select(c => c.ToString())); }