initial commit

This commit is contained in:
xiaoh105
2025-05-21 16:56:46 +08:00
commit 940b85ac80
12 changed files with 1023 additions and 0 deletions

14
projects/task2/cnf_trans.h Executable file
View File

@ -0,0 +1,14 @@
#include "smt_lang.h"
struct cnf_list{
int size; //变量数量
int* clause; //clause[i]存储命题变元的编号
struct cnf_list* next;
};
typedef struct cnf_list cnf_list;
typedef struct{
cnf_list* cnf_res;
int prop_cnt; //命题变元数量
int clause_cnt; //转成cnf后clause的数量
} PreData;