Function to_dimacs

Source
pub fn to_dimacs(w: impl Write, cnf: &[Vec<Literal>]) -> HashMap<u32, String>
Expand description

Writes the given CNF into a writer in DIMACS format and returns a mapping from variable IDs to their names.