|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMyGenerator
public class MyGenerator
This is a template of the MyGenerator class that must be turned in. See RandomCnfGenerator or RandomSatisfiedCnfGenerator for sample code, and see Generator for further explanation.
Constructor Summary | |
---|---|
MyGenerator()
A constructor for this class. |
Method Summary | |
---|---|
java.lang.String |
author()
This method should simply return the "author" of this program as you would like it to appear on a class website. |
java.lang.String |
description()
This method should return a very brief (1-3 sentence) description (appropriate for posting on the class website) of how the CNF formulas are generated by this generator. |
Cnf |
getNext()
This is the method that generates CNF formulas, represented by Cnf objects, each time it is called. |
static void |
main(java.lang.String[] argv)
This is a simple main. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyGenerator()
Method Detail |
---|
public Cnf getNext()
getNext
in interface Generator
public java.lang.String author()
author
in interface Generator
public java.lang.String description()
description
in interface Generator
public static void main(java.lang.String[] argv)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |