CFGLib.CNFGrammar.Accepts C# (CSharp) Method

Accepts() public method

Returns whether this grammar accepts the given sentence
public Accepts ( Sentence s ) : bool
s Sentence
return bool
		public bool Accepts(Sentence s) {
			return Cyk(s) > 0;
		}