Generating Inputs
=================


Workload description
--------------------
Inputs consist of a puzzle list and a file which indicates how many puzzles to process. The puzzle list must always contain 27 puzzles, although not all must be used.

List of puzzles
---------------

To run the script, you must have a file called 'puzzles.txt' that contains all of the possible puzzles to be considered. See the other .txt files in the scripts for what the format is expected to be.

Randomly-generated sudoku puzzles take very little time for the benchmark to process. However, the public domain Sudoku program [WayBack Machine](https://web.archive.org/web/20060718115303/http://www.laurasia.com.au/sudoku/) generates puzzles that can be used.


Generating workload
-------------------


To generate a specific workload, run:

    ./gen-input.py [options]

To get information on all of the options, run:

    ./gen-input.py --help


