Generated on Sat Feb 7 2015 02:01:58 for Gecode by doxygen 1.8.9.1
Test::NoGoods::NoGoods< Model, ValBranch > Class Template Reference

Base class for no-good tests More...

Public Member Functions

 NoGoods (ValBranch vb0, unsigned int t0, bool a0, bool n0)
 Initialize test. More...
 
virtual bool run (void)
 Run test. More...
 
- Public Member Functions inherited from Test::Base
 Base (const std::string &s)
 Create and register test with name s. More...
 
const std::string & name (void) const
 Return name of test. More...
 
Basenext (void) const
 Return next test. More...
 
void next (Base *n)
 Set next test. More...
 
virtual ~Base (void)
 Destructor. More...
 

Static Public Member Functions

static std::string str (unsigned int i)
 Map unsigned integer to string. More...
 
- Static Public Member Functions inherited from Test::Base
static void sort (void)
 Sort tests alphabetically. More...
 
static Basetests (void)
 Return all tests. More...
 
static bool fixpoint (void)
 Throw a coin whether to compute a fixpoint. More...
 

Protected Attributes

ValBranch vb
 How to branch. More...
 
unsigned int t
 Number of threads to use. More...
 
bool a
 Whether to also assign some variables. More...
 
bool n
 Whether to also create branchers without no-good literals. More...
 

Additional Inherited Members

- Static Public Attributes inherited from Test::Base
static Gecode::Support::RandomGenerator rand = Gecode::Support::RandomGenerator()
 Random number generator. More...
 

Detailed Description

template<class Model, class ValBranch>
class Test::NoGoods::NoGoods< Model, ValBranch >

Base class for no-good tests

Definition at line 210 of file nogoods.cpp.

Constructor & Destructor Documentation

template<class Model , class ValBranch >
Test::NoGoods::NoGoods< Model, ValBranch >::NoGoods ( ValBranch  vb0,
unsigned int  t0,
bool  a0,
bool  n0 
)
inline

Initialize test.

Definition at line 228 of file nogoods.cpp.

Member Function Documentation

template<class Model , class ValBranch >
static std::string Test::NoGoods::NoGoods< Model, ValBranch >::str ( unsigned int  i)
inlinestatic

Map unsigned integer to string.

Definition at line 222 of file nogoods.cpp.

template<class Model , class ValBranch >
virtual bool Test::NoGoods::NoGoods< Model, ValBranch >::run ( void  )
inlinevirtual

Run test.

Implements Test::Base.

Definition at line 233 of file nogoods.cpp.

Member Data Documentation

template<class Model , class ValBranch >
ValBranch Test::NoGoods::NoGoods< Model, ValBranch >::vb
protected

How to branch.

Definition at line 213 of file nogoods.cpp.

template<class Model , class ValBranch >
unsigned int Test::NoGoods::NoGoods< Model, ValBranch >::t
protected

Number of threads to use.

Definition at line 215 of file nogoods.cpp.

template<class Model , class ValBranch >
bool Test::NoGoods::NoGoods< Model, ValBranch >::a
protected

Whether to also assign some variables.

Definition at line 217 of file nogoods.cpp.

template<class Model , class ValBranch >
bool Test::NoGoods::NoGoods< Model, ValBranch >::n
protected

Whether to also create branchers without no-good literals.

Definition at line 219 of file nogoods.cpp.


The documentation for this class was generated from the following file: