Skip to content

Instantly share code, notes, and snippets.

View phagenlocher's full-sized avatar
🏳️‍🌈

Philipp Hagenlocher phagenlocher

🏳️‍🌈
View GitHub Profile
@goldsborough
goldsborough / dpll.py
Last active November 22, 2021 20:37
The Davis-Putnam-Logemann-Loveland (DPLL) Algorithm.
#!/usr/bin/env python3
# -- coding: utf-8 -*-
"""Module for the Davis-Putnam-Logemann-Loveland (DPLL) Algorithm."""
from __future__ import print_function
from __future__ import unicode_literals
import re
import sys