Clingo
|
A (partial) solver for inequalities. More...
#include <iesolver.hh>
Public Member Functions | |
IESolver (IESolver *parent=nullptr) | |
Construct an IESolver with an optional parent. | |
void | add (IE ie) |
Add the given inequality to the solver. | |
auto | compute (Logger &log) -> bool |
Compute the bounds of variables in added inequalities. | |
auto | domain () const -> IEDomain const & |
Get the domains of variables. | |
auto | strengthens (String var) const -> bool |
Return true if the solver strengthens the domain of the given variable. | |
A (partial) solver for inequalities.
auto CppClingo::Input::IESolver::compute | ( | Logger & | log | ) | -> bool |
Compute the bounds of variables in added inequalities.
Returns false if the inequalities are not satisfiable.