Generated on Tue Jan 26 2021 00:00:00 for Gecode by doxygen 1.9.1
val.hpp File Reference

Go to the source code of this file.

Functions

FloatValBranch Gecode::FLOAT_VAL_SPLIT_MIN (void)
 Select values not greater than mean of smallest and largest value. More...
 
FloatValBranch Gecode::FLOAT_VAL_SPLIT_MAX (void)
 Select values greater than mean of smallest and largest value. More...
 
FloatValBranch Gecode::FLOAT_VAL_SPLIT_RND (Rnd r)
 Select values randomly which are not greater or not smaller than mean of largest and smallest value. More...
 
FloatValBranch Gecode::FLOAT_VAL (FloatBranchVal v, FloatBranchCommit c)
 

Function Documentation

◆ FLOAT_VAL_SPLIT_MIN()

FloatValBranch Gecode::FLOAT_VAL_SPLIT_MIN ( void  )
inline

Select values not greater than mean of smallest and largest value.

Definition at line 55 of file val.hpp.

◆ FLOAT_VAL_SPLIT_MAX()

FloatValBranch Gecode::FLOAT_VAL_SPLIT_MAX ( void  )
inline

Select values greater than mean of smallest and largest value.

Definition at line 60 of file val.hpp.

◆ FLOAT_VAL_SPLIT_RND()

FloatValBranch Gecode::FLOAT_VAL_SPLIT_RND ( Rnd  r)
inline

Select values randomly which are not greater or not smaller than mean of largest and smallest value.

Definition at line 65 of file val.hpp.

◆ FLOAT_VAL()

FloatValBranch Gecode::FLOAT_VAL ( FloatBranchVal  v,
FloatBranchCommit  c = nullptr 
)
inline

Select value as defined by the value function v and commit function c The default commit function posts the constraint that the float variable x must be less or equal than the value n for the first alternative and that x must be greater or equal than n otherwise.

Definition at line 70 of file val.hpp.