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

Positions
-------

To generate inputs, chess positions are required in the file positions.epd. All the existing positions in that file are from [Arasan Testsuite](https://github.com/jdart1/arasan-chess/tree/master/tests).


Generate workload
-----------------


To then generate a random workload, run

    ./gen-input.py [options]


Where the required arguments are:

    --count <number>

        The number of board positions to inlude

    --depth <min> <max>

        The minimum and maxium search depths


And the optional parameters are:

    --name <workloadName>

        Which will be the workloads name. If not given, the name will be the lowest number from 000 to 999 not already existing

    --seed <seed>

        The seed to feed the random number generator before creating the workload.
 
