40 namespace Test {
namespace Branch {
Int l_3("Large::3", d_large, 3)
Int s_5("Sparse::5", d_sparse, 5)
Gecode::IntSet d_large(-2, 10)
Int d_3("Dense::3", d_dense, 3)
virtual void post(Gecode::Space &home, Gecode::IntVarArray &x)
Post propagators on variables x.
Int l_2("Large::2", d_large, 2)
int n
Number of negative literals for node type.
Int d_5("Dense::5", d_dense, 5)
Gecode::IntSet d_sparse(v_sparse, 5)
Test brancher with distinct propagator
Base class for tests for branching on integer variables
Gecode::IntSet d_dense(-2, 2)
Node * x
Pointer to corresponding Boolean expression node.
void distinct(Home home, const IntVarArgs &x, IntConLevel icl)
Post propagator for for all .
Int(const std::string &s, const Gecode::IntSet &d, int n)
Create and register test.
Int s_3("Sparse::3", d_sparse, 3)