#include "krite.h"
#include "inline.h"
#include "internal.h"
#include "watch.h"
#include <inttypes.h>
Go to the source code of this file.
◆ kissat_write_dimacs()
Definition at line 10 of file krite.c.
10 {
12 if (imported)
13 imported--;
21 if (iother < ilit)
22 continue;
23 const int elit = kissat_export_literal (
solver, ilit);
24 const int eother = kissat_export_literal (
solver, iother);
25 fprintf (
file,
"%d %d 0\n", elit, eother);
26 }
27 } else {
32 if (iother < ilit)
33 continue;
34 const int elit = kissat_export_literal (
solver, ilit);
35 const int eother = kissat_export_literal (
solver, iother);
36 fprintf (
file,
"%d %d 0\n", elit, eother);
37 }
38 }
40 if (!c->garbage && !c->redundant) {
42 const int elit = kissat_export_literal (
solver, ilit);
43 fprintf (
file,
"%d ", elit);
44 }
46 }
47}
#define all_literals(LIT)
#define all_literals_in_clause(LIT, C)
#define KISSAT_assert(ignore)
#define all_binary_blocking_watches(WATCH, WATCHES)
#define all_binary_large_watches(WATCH, WATCHES)