Generated on Wed Nov 5 2014 05:18:36 for Gecode by doxygen 1.7.6.1
Value selection for set variables

Functions

SetValBranch Gecode::SET_VAL_MIN_INC (void)
 Include smallest element.
SetValBranch Gecode::SET_VAL_MIN_EXC (void)
 Exclude smallest element.
SetValBranch Gecode::SET_VAL_MED_INC (void)
 Include median element (rounding downwards)
SetValBranch Gecode::SET_VAL_MED_EXC (void)
 Exclude median element (rounding downwards)
SetValBranch Gecode::SET_VAL_MAX_INC (void)
 Include largest element.
SetValBranch Gecode::SET_VAL_MAX_EXC (void)
 Exclude largest element.
SetValBranch Gecode::SET_VAL_RND_INC (Rnd r)
 Include random element.
SetValBranch Gecode::SET_VAL_RND_EXC (Rnd r)
 Exclude random element.
SetValBranch Gecode::SET_VAL (SetBranchVal v, SetBranchCommit c=NULL)
 Select value as defined by the value function v and commit function c.

Function Documentation

SetValBranch Gecode::SET_VAL_MIN_INC ( void  ) [inline]

Include smallest element.

Definition at line 59 of file val.hpp.

SetValBranch Gecode::SET_VAL_MIN_EXC ( void  ) [inline]

Exclude smallest element.

Definition at line 64 of file val.hpp.

SetValBranch Gecode::SET_VAL_MED_INC ( void  ) [inline]

Include median element (rounding downwards)

Definition at line 69 of file val.hpp.

SetValBranch Gecode::SET_VAL_MED_EXC ( void  ) [inline]

Exclude median element (rounding downwards)

Definition at line 74 of file val.hpp.

SetValBranch Gecode::SET_VAL_MAX_INC ( void  ) [inline]

Include largest element.

Definition at line 79 of file val.hpp.

SetValBranch Gecode::SET_VAL_MAX_EXC ( void  ) [inline]

Exclude largest element.

Definition at line 84 of file val.hpp.

SetValBranch Gecode::SET_VAL_RND_INC ( Rnd  r) [inline]

Include random element.

Definition at line 89 of file val.hpp.

SetValBranch Gecode::SET_VAL_RND_EXC ( Rnd  r) [inline]

Exclude random element.

Definition at line 94 of file val.hpp.

SetValBranch Gecode::SET_VAL ( SetBranchVal  v,
SetBranchCommit  c = NULL 
) [inline]

Select value as defined by the value function v and commit function c.

The default commit function posts the constraint that the value n must be included in the set variable x for the first alternative, and that n must be excluded from x otherwise.

Definition at line 99 of file val.hpp.