cnfgen.clitools.cnfshuffle module

Cnf formulas shuffling.

cli(argv=['/home/docs/checkouts/readthedocs.org/user_builds/cnfgen/envs/latest/lib/python3.7/site-packages/sphinx/__main__.py', '-T', '-b', 'html', '-d', '_build/doctrees', '-D', 'language=en', '.', '_build/html'], mode='output')

CNFgen shuffler

This function provide the main interface to cnfshuffle.

Parameters:
argv: list, optional

The list of token with the command line arguments/options.

mode: str

One among ‘formula’, ‘string’, ‘output’ (latter is the default) - ‘formula’ return a CNF object - ‘string’ return the string with the output of CNFgen - ‘output’ output the formula to the user

main()