sat-solver/solution.hpp

45 lines
658 B
C++

#ifndef STRUCT_SOLUTION
#define STRUCT_SOLUTION
#include <stddef.h>
#include <stdlib.h>
class solution
{
public:
enum kind_e {
all,
none,
specific,
} kind;
unsigned n;
int* input = NULL;
public:
solution(kind_e k): kind(k)
{
;
}
solution(unsigned n_, int* input_):
kind(solution::specific),
n(n_),
input(input_)
{
;
}
void print();
~solution()
{
delete[] input;
}
};
#endif