https://github.com/TakehideSoh/SAF
Tip revision: d26cc9f94a4f79c046ee0cdd3a127a44f7b443b6 authored by TakehideSoh on 23 June 2023, 07:02:26 UTC
Merge pull request #2 from TakehideSoh/dev
Merge pull request #2 from TakehideSoh/dev
Tip revision: d26cc9f
tracer.hpp
#ifndef _tracer_h_INCLUDED
#define _tracer_h_INCLUDED
#include "observer.hpp" // Alphabetically after 'tracer'.
// Proof tracing to a file (actually 'File') in DRAT format.
namespace CaDiCaL {
class Tracer : public Observer {
Internal * internal;
File * file;
bool binary;
int64_t added, deleted;
void put_binary_zero ();
void put_binary_lit (int external_lit);
public:
Tracer (Internal *, File * file, bool binary); // own and delete 'file'
~Tracer ();
void add_derived_clause (const vector<int> &);
void delete_clause (const vector<int> &);
bool closed ();
void close ();
void flush ();
};
}
#endif
