Initial progress on subsumption DFA. Why is this branch called subsumption-tree?

This commit is contained in:
gothictomato
2022-07-21 10:56:05 -04:00
parent 1d938273f3
commit 8e34675408
6 changed files with 448 additions and 2 deletions

22
ncnf.h Normal file
View File

@@ -0,0 +1,22 @@
#pragma once
#include "types.h"
typedef struct {
u32 varcnt;
u32 clausecnt;
u32* lvars;
u32* clens;
u32* cptrs;
u32 totcnt;
u32* varbak;
u8* parbak;
} ncnf;
ncnf* nreadDIMACS(char* path);
void nprintcnf(ncnf* c);
void nprintcnf2(ncnf* c);
void nsortlastnum(ncnf* c);
void nfreecnf(ncnf* c);