Base test for sequence
More...
|
| SequenceTest (const std::string &s, const Gecode::IntSet &s0, int q0, int l0, int u0, int size, int min, int max) |
| Create and register test.
|
virtual bool | solution (const Assignment &x) const |
| Test whether x is solutionin
|
| 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)=0 |
| Post constraint.
|
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.
|
Base test for sequence
Definition at line 54 of file sequence.cpp.
◆ SequenceTest()
Test::Int::Sequence::SequenceTest::SequenceTest |
( |
const std::string & | s, |
|
|
const Gecode::IntSet & | s0, |
|
|
int | q0, |
|
|
int | l0, |
|
|
int | u0, |
|
|
int | size, |
|
|
int | min, |
|
|
int | max ) |
|
inline |
◆ solution()
virtual bool Test::Int::Sequence::SequenceTest::solution |
( |
const Assignment & | x | ) |
const |
|
inlinevirtual |
int Test::Int::Sequence::SequenceTest::q |
|
protected |
int Test::Int::Sequence::SequenceTest::l |
|
protected |
int Test::Int::Sequence::SequenceTest::u |
|
protected |
The documentation for this class was generated from the following file: