You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
901 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. # sat project
  2. ## dependencies
  3. * pysat
  4. * [glucose](https://www.labri.fr/perso/lsimon/glucose/) - version 4.1 - put binary in ***util*** directory
  5. * bzip2
  6. ## gen_core_extensions.py
  7. Script to generate core extensions.
  8. | arg | arg long | default | description |
  9. |----|---------|-------|--|
  10. | -i | --instance_dir | ./instances | directory containing the instances |
  11. | -c | --cores_dir | ./cores_dir | directory containing the cores |
  12. | -e | --extensions_dir | ./extensions | target directory to store the generated core extensions (creates dir if nonexistent)|
  13. | -n | --nr_per_instance | 1 | number of extensions per instance |
  14. | -v | --verbosity | 1 | **1** to print progress, **0** for silent mode |
  15. Just call with:
  16. ```bash
  17. $ ./gen_core_extensions.py -n 5000
  18. ```
  19. ## main.py
  20. Does **NOT** have to be called from any specific directory!
  21. The `-i` (`--instance`) parameter has to be a core extension