Skip to content

Files

Latest commit

3240e7c · Feb 18, 2022

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022
Feb 18, 2022

Sat Solver

This exercise lets students implement a simple SAT-solver for propositional logic. Instructions can be found here, exercise H9.2, and some optimisations submitted by our students and further discussion can be found here.

Requirements

Tests are run using stack.

Setup

The executables specified in test.cabal expect the solution repository checked out in the solution subdirectory and the submission checked out in the assignment subdirectory. Moreover, test.cabal provides an executable to test the template repository locally. For this, it expects the template repository in the template subdirectory.

Running Tests

Refer to test.cabal for detailed information about the targets and flags provided.

Locally

You can run executables specified in test.cabal using stack run <executableName>.

On Artemis

By default, Artemis runs ./run.sh -s to execute the tests. You can modify run.sh to adapt the build and test process.