Test for Boolean argument maximum constraint
More...
|
| ArgMaxBool (int n, int o, bool tb) |
| Create and register test.
|
|
virtual bool | solution (const Assignment &x) const |
| Test whether x is solution
|
|
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x) |
| Post constraint on x.
|
|
| Test (const std::string &p, const std::string &s, int a, const Gecode::IntSet &d, bool r=false, Gecode::IntPropLevel i=Gecode::IPL_DEF) |
| Constructor.
|
|
| Test (const std::string &s, int a, const Gecode::IntSet &d, bool r=false, Gecode::IntPropLevel i=Gecode::IPL_DEF) |
| Constructor.
|
|
| Test (const std::string &p, const std::string &s, int a, int min, int max, bool r=false, Gecode::IntPropLevel i=Gecode::IPL_DEF) |
| Constructor.
|
|
| Test (const std::string &s, int a, int min, int max, bool r=false, Gecode::IntPropLevel i=Gecode::IPL_DEF) |
| Constructor.
|
|
virtual Assignment * | assignment (void) const |
| Create assignment.
|
|
virtual bool | ignore (const Assignment &) const |
| Whether to ignore assignment for reification.
|
|
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::Reify r) |
| Post reified constraint.
|
|
virtual bool | run (void) |
| Perform test.
|
|
| Base (const std::string &s) |
| Create and register test with name s.
|
|
const std::string & | name (void) const |
| Return name of test.
|
|
Base * | next (void) const |
| Return next test.
|
|
void | next (Base *n) |
| Set next test.
|
|
virtual | ~Base (void) |
| Destructor.
|
|
Test for Boolean argument maximum constraint
Definition at line 898 of file arithmetic.cpp.
◆ ArgMaxBool()
Test::Int::Arithmetic::ArgMaxBool::ArgMaxBool |
( |
int | n, |
|
|
int | o, |
|
|
bool | tb ) |
|
inline |
◆ solution()
virtual bool Test::Int::Arithmetic::ArgMaxBool::solution |
( |
const Assignment & | x | ) |
const |
|
inlinevirtual |
◆ post()
◆ offset
int Test::Int::Arithmetic::ArgMaxBool::offset |
|
protected |
◆ tiebreak
bool Test::Int::Arithmetic::ArgMaxBool::tiebreak |
|
protected |
The documentation for this class was generated from the following file: