Generated on Thu Jan 20 2022 00:00:00 for Gecode by doxygen 1.9.1
assign.hpp File Reference

Go to the source code of this file.

Functions

FloatAssign Gecode::FLOAT_ASSIGN_MIN (void)
 Select median value of the lower part. More...
 
FloatAssign Gecode::FLOAT_ASSIGN_MAX (void)
 Select median value of the upper part. More...
 
FloatAssign Gecode::FLOAT_ASSIGN_RND (Rnd r)
 Select median value of a randomly chosen part. More...
 
FloatAssign Gecode::FLOAT_ASSIGN (FloatBranchVal v, FloatBranchCommit c)
 

Function Documentation

◆ FLOAT_ASSIGN_MIN()

FloatAssign Gecode::FLOAT_ASSIGN_MIN ( void  )
inline

Select median value of the lower part.

Definition at line 55 of file assign.hpp.

◆ FLOAT_ASSIGN_MAX()

FloatAssign Gecode::FLOAT_ASSIGN_MAX ( void  )
inline

Select median value of the upper part.

Definition at line 60 of file assign.hpp.

◆ FLOAT_ASSIGN_RND()

FloatAssign Gecode::FLOAT_ASSIGN_RND ( Rnd  r)
inline

Select median value of a randomly chosen part.

Definition at line 65 of file assign.hpp.

◆ FLOAT_ASSIGN()

FloatAssign Gecode::FLOAT_ASSIGN ( 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.

Definition at line 70 of file assign.hpp.