Test::Int::Sequence::SequenceTest Class Reference
[Sequence constraints]
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 |
Detailed Description
Base test for sequence
Definition at line 58 of file sequence.cpp.
Constructor & Destructor Documentation
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.
Member Function Documentation
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.
Member Data Documentation
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.
The documentation for this class was generated from the following file:
- test/int/sequence.cpp (Revision: 10684)