This class provides a representation of a CNF, including methods
for constructing the CNF, for converting it into an array of arrays
of Literals, and for printing.
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.
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.
This method should return a very brief (1-3 sentence)
description of the algorithm and implementational improvements
that are being used, appropriate for posting on the class
website.
This method should return a very brief (1-3 sentence)
description of the algorithm and implementational improvements
that are being used, appropriate for posting on the class
website.
This is a simple main which runs MySatSolver
on the CNF stored in the file named in the first argument
within the time limit specified by the second argument.
This Generator generates random satisfiable CNF formulas
of a fixed size over a fixed number of symbols and with a fixed
number of literals per clause.
An object in this class acts as a timer, indicating both how much
time has elapsed from the time the object was created, and how much
time remains until the end of a specified period.