Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
CFGLib
CNFGrammar
Accepts
CFGLib.CNFGrammar.Accepts C# (CSharp) Method
CNFGrammar Class Documentation
Mostra file
Open project: ellisonch/CFGLib
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; }
CNFGrammar
Accepts
AddProduction
BuildLookups
CNFGrammar
Cyk
ProductionsFrom
ProductionsProductingTerminal
RemoveProductionWithoutSimplifying
ShallowClone