sat-solver/problem.hpp
2025-03-07 09:45:39 -06:00

34 lines
459 B
C++

#ifndef CLASS_PROBLEM
#define CLASS_PROBLEM
#include <list.hpp>
#include <refcounted.hpp>
class clause
{
public:
struct bundle
{
unsigned variable;
bool value;
};
public:
list<bundle> bundles;
};
class problem
{
public:
unsigned number_of_variables;
list<refcounted<clause>> clauses;
public:
problem(unsigned);
};
#endif