Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
Test::LDSB::LDSBSet< T > Class Template Reference

Test for LDSB infrastructure More...

Public Member Functions

 LDSBSet (std::string label, unsigned int c=0, unsigned int a=0)
 Initialize test.
 
bool run (void)
 Perform actual tests.
 
- 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.
 
Basenext (void) const
 Return next test.
 
void next (Base *n)
 Set next test.
 
virtual ~Base (void)
 Destructor.
 

Public Attributes

unsigned int c_d
 Recomputation distance.
 
unsigned int a_d
 Adaptation distance.
 

Additional Inherited Members

- Static Public Member Functions inherited from Test::Base
static void sort (void)
 Sort tests alphabetically.
 
static Basetests (void)
 Return all tests.
 
static bool fixpoint (void)
 Throw a coin whether to compute a fixpoint.
 
- Static Public Attributes inherited from Test::Base
static Gecode::Support::RandomGenerator rand = Gecode::Support::RandomGenerator()
 Random number generator.
 

Detailed Description

template<class T>
class Test::LDSB::LDSBSet< T >

Test for LDSB infrastructure

Definition at line 226 of file ldsb.cpp.

Constructor & Destructor Documentation

◆ LDSBSet()

template<class T >
Test::LDSB::LDSBSet< T >::LDSBSet ( std::string label,
unsigned int c = 0,
unsigned int a = 0 )
inline

Initialize test.

Definition at line 233 of file ldsb.cpp.

Member Function Documentation

◆ run()

template<class T >
bool Test::LDSB::LDSBSet< T >::run ( void )
inlinevirtual

Perform actual tests.

Implements Test::Base.

Definition at line 237 of file ldsb.cpp.

Member Data Documentation

◆ c_d

template<class T >
unsigned int Test::LDSB::LDSBSet< T >::c_d

Recomputation distance.

Definition at line 229 of file ldsb.cpp.

◆ a_d

template<class T >
unsigned int Test::LDSB::LDSBSet< T >::a_d

Adaptation distance.

Definition at line 231 of file ldsb.cpp.


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