|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgeneration.sentence.CDRC
public class CDRC
A modification of Purdom's algorithm, named CDRC-P algorithm, to generate sentences satisfying context-dependent rule coverage.
| Constructor Summary | |
|---|---|
CDRC(MyGrammar grammar)
Creates an instance of CDRC |
|
| Method Summary | |
|---|---|
MySentence[] |
generateSentences()
Returns the sentences satisfying context-dependent rule coverage. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CDRC(MyGrammar grammar)
grammar - the grammar to generate sentences| Method Detail |
|---|
public MySentence[] generateSentences()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||