Speeding up MiniSat with a one-liner

All SAT solvers must have a tri-state class that can hold the values `true`, `false`, and `undefined`. Although it’s not hard to write code to represent such a class, it’s hard to write such it so that all typical operations are fast. In this blog post I will compare three different ways of doing it. The original MiniSat 2.0 code The original MiniSat 2.0 used the following code for such a class: ...

March 12, 2014 · 4 min · msoos