|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgeneration.sentence.CDRC
generation.sentence.CDRCEven
public class CDRCEven
An extension of CDRC-P algorithm with a length control mechanism
Constructor Summary | |
---|---|
CDRCEven(MyGrammar grammar)
Creates an instance |
Method Summary | |
---|---|
MySentence[] |
generateSentences(int iWeight)
Returns the sentences satisfying context-dependent rule coverage and length control |
Methods inherited from class generation.sentence.CDRC |
---|
generateSentences |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CDRCEven(MyGrammar grammar)
grammar
- the grammar to generate sentencesMethod Detail |
---|
public MySentence[] generateSentences(int iWeight)
iWeight
- the weight of reference length
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |