pub trait Preprocessor<L: Literal, S: LiteralStorage<L>> {
// Required method
fn preprocess(&self, cnf: &[Clause<L, S>]) -> Vec<Clause<L, S>>;
}Expand description
Defines the interface for a CNF formula preprocessor.
A preprocessor takes a list of clauses (representing a CNF formula) and returns a new list of clauses, presumably simplified or transformed in a way that preserves satisfiability.
§Type Parameters
L: TheLiteraltype used in clauses.S: TheLiteralStoragetype for clauses.