50 std::vector<int> vx = sat.
vec_var(
"x", 32);
51 std::vector<int> vy = sat.
vec_var(
"y", 32);
52 std::vector<int> vz = sat.
vec_var(
"z", 32);
53 std::vector<int> vw = sat.
vec_var(
"w", 32);
67 std::vector<int> modelExpressions;
68 std::vector<bool> modelValues;
77 if (!sat.
solve(modelExpressions, modelValues)) {
78 fprintf(stderr,
"SAT solver failed to find a model!\n");
void xorshift128_sat(ezSAT &sat, std::vector< int > &x, std::vector< int > &y, std::vector< int > &z, std::vector< int > &w)
std::vector< int > vec_var(int numBits)
void vec_set_unsigned(const std::vector< int > &vec1, uint64_t value)
uint64_t vec_model_get_unsigned(const std::vector< int > &modelExpressions, const std::vector< bool > &modelValues, const std::vector< int > &vec1) const
bool solve(const std::vector< int > &modelExpressions, std::vector< bool > &modelValues, const std::vector< int > &assumptions)
void vec_append(std::vector< int > &vec, const std::vector< int > &vec1) const