Base class for no-good tests More...
Public Member Functions | |
NoGoods (ValBranch vb0, unsigned int t0, bool a0, bool n0) | |
Initialize test. | |
virtual bool | run (void) |
Run test. | |
Public Member Functions inherited from Test::Base | |
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. |
Static Public Member Functions | |
static std::string | str (unsigned int i) |
Map unsigned integer to string. | |
Static Public Member Functions inherited from Test::Base | |
static void | sort (void) |
Sort tests alphabetically. | |
static Base * | tests (void) |
Return all tests. | |
static bool | fixpoint (void) |
Throw a coin whether to compute a fixpoint. |
Protected Attributes | |
ValBranch | vb |
How to branch. | |
unsigned int | t |
Number of threads to use. | |
bool | a |
Whether to also assign some variables. | |
bool | n |
Whether to also create branchers without no-good literals. |
Additional Inherited Members | |
Static Public Attributes inherited from Test::Base | |
static Gecode::Support::RandomGenerator | rand = Gecode::Support::RandomGenerator() |
Random number generator. | |
Related Symbols inherited from Test::Base | |
int | main (int argc, char *argv[]) |
Main function. |
Base class for no-good tests
Definition at line 206 of file nogoods.cpp.
|
inline |
Initialize test.
Definition at line 224 of file nogoods.cpp.
|
inlinestatic |
Map unsigned integer to string.
Definition at line 218 of file nogoods.cpp.
|
inlinevirtual |
|
protected |
How to branch.
Definition at line 209 of file nogoods.cpp.
|
protected |
Number of threads to use.
Definition at line 211 of file nogoods.cpp.
|
protected |
Whether to also assign some variables.
Definition at line 213 of file nogoods.cpp.
|
protected |
Whether to also create branchers without no-good literals.
Definition at line 215 of file nogoods.cpp.