
Base test for sequence More...
Public Member Functions | |
| 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 | |
Protected Attributes | |
| Gecode::IntSet | s |
| int | q |
| int | l |
| int | u |
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] |
Create and register test.
Definition at line 64 of file sequence.cpp.
| virtual bool Test::Int::Sequence::SequenceTest::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solutionin
Implements Test::Int::Test.
Definition at line 70 of file sequence.cpp.
Gecode::IntSet Test::Int::Sequence::SequenceTest::s [protected] |
Definition at line 60 of file sequence.cpp.
int Test::Int::Sequence::SequenceTest::q [protected] |
Definition at line 61 of file sequence.cpp.
int Test::Int::Sequence::SequenceTest::l [protected] |
Definition at line 61 of file sequence.cpp.
int Test::Int::Sequence::SequenceTest::u [protected] |
Definition at line 61 of file sequence.cpp.