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

20
subtree.c Normal file
View File

@@ -0,0 +1,20 @@
#include "subtree.h"
void gendfa() {
u32 varcnt = 4;
char* clauses[4] = {
"0121",
"0122",
"2122",
"2222"
};
// Order the clauses
// Make nodes for each clause
// Combine 2 nodes into 1 if their next prefix is identical
// If their next prefix is 1, create 2 combinations
}