team |
[q]bfGen - A Generator for SAT and QSAT FormulasOverview[q]bfGen is a tool for generating random SAT and QSAT formulas according to a random model. Such a random model is specified in XML according to the provided XML Schema formula.xsd. When using a modern XML editor, even complex random models can be build with a few clicks. The formulas instances are generated by an interpreter, the formula generator, [q]bfgen.The basic workflow of this tool is summarized in the following pichture: Disclaimer
DownloadsPlease note that this version of [q]bfGen is a first prototype released to demonstrate the features described in the paper. Download the prototype as executable jar or the sources. Run [q]bfGen with: java -jar qbfGen.jar random.xml fileName numberOfFormula [-p]
Example for a random model specification for the Shapes described in the paper. Detailed documentation will follow in the public release. Experiments[q]bfGen makes a wealth of experiments and studies without any programming effort possible. A first example of potential research directions is given in the following. To test [q]bfGen we generated formulas based on the extended fixed shape model for QBF. The generated formulas have a quantifier prefix of the form forall X exists Y, where the size of X is m and the size of Y is n. The matrix is a conjunctions of S-constraints. An S-constraint is a balanced tree of alternating disjunctions and conjunctions. In the following, we assume that the matrix of the formula is structured as follows: ![]() The number of S-constraints is given by L = c*n, where c is a constant and n is the number of an existential variable. First experminental results when solving such formulas are shown in the following: ![]() ![]()
The curves are obtained by running the state-of-the-art QBF solver DepQBF on 200 formulas on each data point, i.e., we ranged the constant c from 2 to 4 with a step width of 0.2.5. The left image shows the number of solved formulas for n=10,20,30,40,50,60. We clearly see that the probability that a formula is satisfiable changes from left to right. The changes take place at about c=3.2. At this time, we also observe a peak in the average runtime (cf. right image). Here we observe a similar behavior as in plain SAT formulas. This random model offers a multitude of interessting settings for further expermiments with the various parameter settings, issuing interessting questions for further study. Also the formulas are well suited for the evaluation of solvers as (i) their truth value is predictable and (ii) their "difficulty" is customizable. Further Random Models
Known Issues
|