Refactor solver
commit6bdde79c9f452aa72eff9e2470c17b638c4f79aa
authorThomas Leonard <talex5@gmail.com>
Mon, 22 Mar 2010 21:21:55 +0000 (22 21:21 +0000)
committerThomas Leonard <talex5@gmail.com>
Mon, 22 Mar 2010 21:35:51 +0000 (22 21:35 +0000)
treec703d867924f05d25ffc77992974abbac49202f8
parent9a96fec4b31ac27a403b6c52221897d04d9fcc4e
Refactor solver

Created an abstract Problem object to hold the constraints. Express all
requirements as simple boolean expressions, but still use the full
pseudo-boolean solver to solve them for now.
tests/testsat.py
zeroinstall/injector/sat.py [new file with mode: 0644]
zeroinstall/injector/solver.py