|
SAT Solver Template
|
Structure representing a binary variable in a CNF-SAT problem. More...
#include <basic_structures.hpp>
Public Member Functions | |
| Variable (unsigned val) | |
| unsigned | get () const |
| bool | operator== (Variable other) const |
Structure representing a binary variable in a CNF-SAT problem.
| sat::Variable::Variable | ( | unsigned | val | ) |
CTor
| val | variable number (name of the variable) |
| unsigned sat::Variable::get | ( | ) | const |
gets the underlying variable number
Referenced by sat::operator<<(), sat::operator<<(), and sat::inout::to_dimacs().

| bool sat::Variable::operator== | ( | Variable | other | ) | const |
Compares the underlying variable identifier