Generated on Sun Feb 17 15:24:56 2019 for Gecode by doxygen 1.6.3

Gecode::FloatAssign Class Reference
[Branching on float variables]

Which values to select for assignment. More...

#include <float.hh>

List of all members.

Public Types

enum  Select { SEL_MIN, SEL_MAX, SEL_RND, SEL_VAL_COMMIT }
 

Which value selection.

More...

Public Member Functions

 FloatAssign (Select s=SEL_MIN)
 Initialize with selection strategy s.
 FloatAssign (Rnd r)
 Initialize with random number generator r.
 FloatAssign (FloatBranchVal v, FloatBranchCommit c)
 Initialize with value function f and commit function c.
Select select (void) const
 Return selection strategy.

Protected Attributes

Select s
 Which value to select.

Detailed Description

Which values to select for assignment.

Definition at line 1874 of file float.hh.


Member Enumeration Documentation

Which value selection.

Enumerator:
SEL_MIN 

Select median value of the lower part.

SEL_MAX 

Select median value of the upper part.

SEL_RND 

Select median value of a randomly chosen part.

SEL_VAL_COMMIT 

Select value according to user-defined functions.

Definition at line 1877 of file float.hh.


Constructor & Destructor Documentation

Gecode::FloatAssign::FloatAssign ( Select  s = SEL_MIN  )  [inline]

Initialize with selection strategy s.

Definition at line 37 of file assign.hpp.

Gecode::FloatAssign::FloatAssign ( Rnd  r  )  [inline]

Initialize with random number generator r.

Definition at line 41 of file assign.hpp.

Gecode::FloatAssign::FloatAssign ( FloatBranchVal  v,
FloatBranchCommit  c 
) [inline]

Initialize with value function f and commit function c.

Definition at line 45 of file assign.hpp.


Member Function Documentation

FloatAssign::Select Gecode::FloatAssign::select ( void   )  const [inline]

Return selection strategy.

Definition at line 49 of file assign.hpp.


Member Data Documentation

Which value to select.

Definition at line 1885 of file float.hh.


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