Method | Description | |
---|---|---|
GrammarGenerator ( |
||
GrammarGenerator ( int seed ) : System | ||
NextCFG ( int numNonterminals, int numProductions, int maxProductionLength, IList |
Generates a new, random generic grammar
|
|
NextCNF ( int numNonterminals, int numProductions, IList |
Generates a new, random CNF grammar
|
|
NextCNFNonterminalProduction ( int numNonTerminals, |
||
NextCNFTerminalProduction ( int numNonterminals, IList |
||
RandomProduction ( int maxProductionLength, int numNonterminals, IList |
Method | Description | |
---|---|---|
RandomNonterminal ( int numNonterminals, bool allowStart = true ) : |
||
RandomTerminal ( IList |
public GrammarGenerator ( |
||
rand | ||
return | System |
public GrammarGenerator ( int seed ) : System | ||
seed | int | |
return | System |
public NextCFG ( int numNonterminals, int numProductions, int maxProductionLength, IList |
||
numNonterminals | int | |
numProductions | int | |
maxProductionLength | int | |
terminals | IList |
|
useNull | bool | |
return |
public NextCNF ( int numNonterminals, int numProductions, IList |
||
numNonterminals | int | |
numProductions | int | |
terminals | IList |
|
useNull | bool | |
return |
public NextCNFNonterminalProduction ( int numNonTerminals, |
||
numNonTerminals | int | |
lhs | ||
return |
public NextCNFTerminalProduction ( int numNonterminals, IList |
||
numNonterminals | int | |
terminals | IList |
|
rhs | ||
return |
public RandomProduction ( int maxProductionLength, int numNonterminals, IList |
||
maxProductionLength | int | |
numNonterminals | int | |
terminals | IList |
|
useNull | bool | |
return |