41 #include "dbg_config.h" 42 #include "instance_info.h" 46 #define SOLVER_CK(prm) DBG_BJ_LIB_CK(prm) 47 #define SOLVER_REL_CK(prm) if(! (prm)){ throw solver_exception(); } 59 class solver_exception :
public top_exception {
61 solver_exception(
long the_id = 0) : top_exception(the_id)
73 long dbg_max_wrt_num_subnmp;
74 long dbg_max_fnd_num_subnmp;
76 avg_stat dbg_avg_num_filled;
77 avg_stat dbg_avg_neu_sz;
79 ch_string dbg_html_out_path;
87 void init_dbg_slvr_info(){
89 dbg_max_wrt_num_subnmp = 0;
90 dbg_max_fnd_num_subnmp = 0;
92 dbg_avg_num_filled.vs_nam =
"NUM_FILLED";
93 dbg_avg_neu_sz.vs_nam =
"NEU_SZ";
95 dbg_html_out_path =
".";
97 dbg_as_release =
false;
110 bool sp_write_proofs;
117 void init_slvr_params(){
118 sp_as_release =
false;
119 sp_only_deduc =
false;
120 sp_write_proofs =
false;
121 sp_test_result =
false;
130 solver& operator = (solver& other){
131 throw instance_exception(inx_bad_eq_op);
134 solver(solver& other){
135 throw instance_exception(inx_bad_creat);
143 char* get_cls_name(){
144 return solver::CL_NAME;
148 debug_info slv_dbg_conf_info;
150 slvr_params slv_prms;
153 DBG(dbg_slvr_info slv_dbg2;)
165 void update_dbg2(dbg_inst_info& ist_info);
169 solver* create_solver(){
170 solver* lv = tpl_malloc<solver>();
176 void release_solver(solver* lv){
177 SOLVER_CK(lv != NULL_PT);
179 tpl_free<solver>(lv);
Class that holds all data used to solve a particular CNF instance.
Definition: brain.h:3085
Class that holds an instance data.
Definition: instance_info.h:96
ben_jose API declaration.
A skeleton_glb is a directory holding a database.
Definition: skeleton.h:761