pub trait ClauseStorage {
// Required methods
fn open_clause(&mut self) -> Clause;
fn push_literal(&mut self, literal: Literal, verbose: bool);
}Required Methods§
Sourcefn open_clause(&mut self) -> Clause
fn open_clause(&mut self) -> Clause
Initialze a new clause.
This must be called before adding literals with
push_literal().
Sourcefn push_literal(&mut self, literal: Literal, verbose: bool)
fn push_literal(&mut self, literal: Literal, verbose: bool)
Add a literal to the current clause.
If passed literal 0, the clause will be finished and
open_clause() must be called before adding
literals to the next clause.