GRATgen
|
Class to handle writing of proofs. More...
Public Member Functions | |
Proof_Writer (ostream &_out) | |
Constructor. More... | |
void | write_id (size_t id) |
Write an id. | |
void | write_cnt (size_t c) |
Write a count. | |
void | write_lit (lit_t l) |
Write a literal. | |
void | write_Z () |
Write a zero. | |
void | write_del (size_t id) |
Write a deletion item. More... | |
void | write_uprop (size_t id) |
Write a unit propagation item. More... | |
void | start_ty (item_type _ty) |
Start writing of an item. More... | |
void | close () |
Stop writing the certificate and flush the output stream. | |
Class to handle writing of proofs.
This class handles writing out of proofs, and summarization of deletion and unit propagations.
binary | Set to operate in binary output mode. |
|
inline |
Constructor.
_out | Output stream to write proof to. |
|
inline |
Start writing of an item.
_ty | Item type |
|
inline |
Write a deletion item.
Adjacent deletion items are automatically summarized.
|
inline |
Write a unit propagation item.
Adjacent unit propagation items are automatically summarized.