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. More...
|
|
virtual bool | solution (const Assignment &x) const |
| Test whether x is solutionin More...
|
|
| Test (const std::string &p, const std::string &s, int a, const Gecode::IntSet &d, bool r=false, Gecode::IntConLevel i=Gecode::ICL_DEF) |
| Constructor. More...
|
|
| Test (const std::string &s, int a, const Gecode::IntSet &d, bool r=false, Gecode::IntConLevel i=Gecode::ICL_DEF) |
| Constructor. More...
|
|
| Test (const std::string &p, const std::string &s, int a, int min, int max, bool r=false, Gecode::IntConLevel i=Gecode::ICL_DEF) |
| Constructor. More...
|
|
| Test (const std::string &s, int a, int min, int max, bool r=false, Gecode::IntConLevel i=Gecode::ICL_DEF) |
| Constructor. More...
|
|
virtual Assignment * | assignment (void) const |
| Create assignment. More...
|
|
virtual bool | ignore (const Assignment &) const |
| Whether to ignore assignment for reification. More...
|
|
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x)=0 |
| Post constraint. More...
|
|
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::Reify r) |
| Post reified constraint. More...
|
|
virtual bool | run (void) |
| Perform test. More...
|
|
| Base (const std::string &s) |
| Create and register test with name s. More...
|
|
const std::string & | name (void) const |
| Return name of test. More...
|
|
Base * | next (void) const |
| Return next test. More...
|
|
void | next (Base *n) |
| Set next test. More...
|
|
virtual | ~Base (void) |
| Destructor. More...
|
|
Base test for sequence
Definition at line 58 of file sequence.cpp.
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 |
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: