2023-03-26 19:15:17 +08:00
|
|
|
|
|
|
|
#include <chrono>
|
|
|
|
#include <thread>
|
|
|
|
#include <fstream>
|
|
|
|
|
2023-03-27 15:44:39 +08:00
|
|
|
#include "light.hpp"
|
2023-03-26 19:15:17 +08:00
|
|
|
#include "utils/cmdline.h"
|
2023-03-27 15:44:39 +08:00
|
|
|
#include "network.h"
|
|
|
|
#include "paras.hpp"
|
|
|
|
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
|
|
|
|
light* S = new light();
|
|
|
|
S->arg_parse(argc, argv);
|
|
|
|
|
|
|
|
int res = S->run();
|
|
|
|
if (res == 10) {
|
|
|
|
printf("s SATISFIABLE\n");
|
|
|
|
// print_model(model);
|
|
|
|
}
|
|
|
|
else if (res == 20) {
|
|
|
|
printf("s UNSATISFIABLE\n");
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
printf("s UNKNOWN\n");
|
|
|
|
}
|
|
|
|
delete(S);
|
2023-03-26 19:15:17 +08:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|