Generated on for Gecode by doxygen 1.17.0
Test::Int::Arithmetic::ProductModVarAlgebraic Class Reference

Targeted algebraic propagation for a variable modulus. More...

Classes

class  TestSpace

Public Member Functions

 ProductModVarAlgebraic (void)
virtual bool run (void)
 Run test.
Public Member Functions inherited from Test::Base
 Base (std::string s)
 Create and register a standard test with name s.
 Base (std::string s, TestTags t)
 Create and register test with name s and tags t.
const std::string & name (void) const
 Return name of test.
TestTags tags (void) const
 Return tags for test.
Base * next (void) const
 Return next test.
void next (Base *n)
 Set next test.
bool fixpoint (void)
 Throw a coin whether to compute a fixpoint.
virtual ~Base (void)
 Destructor.

Static Protected Member Functions

static bool domain (const Gecode::IntVar &x, const int *v, int n)

Additional Inherited Members

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 (Gecode::Support::RandomGenerator &rand)
 Throw a coin whether to compute a fixpoint.
static std::string str (bool b)
 Map bool to string.
static std::string str (int i)
 Map integer to string.
static std::string str (const Gecode::IntArgs &i)
 Map integer array to string.
Gecode::Support::RandomGenerator _rand
 Random number generator.

Detailed Description

Targeted algebraic propagation for a variable modulus.

Definition at line 1748 of file arithmetic.cpp.

Constructor & Destructor Documentation

◆ ProductModVarAlgebraic()

Test::Int::Arithmetic::ProductModVarAlgebraic::ProductModVarAlgebraic ( void )
inline

Definition at line 1763 of file arithmetic.cpp.

Member Function Documentation

◆ domain()

bool Test::Int::Arithmetic::ProductModVarAlgebraic::domain ( const Gecode::IntVar & x,
const int * v,
int n )
inlinestaticprotected

Definition at line 1754 of file arithmetic.cpp.

◆ run()

virtual bool Test::Int::Arithmetic::ProductModVarAlgebraic::run ( void )
inlinevirtual

Run test.

Implements Test::Base.

Definition at line 1765 of file arithmetic.cpp.


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