Generated on Fri Mar 20 15:56:45 2015 for Gecode by doxygen 1.6.3

Gecode::IntAssign Class Reference
[Branching]

Which values to select for assignment. More...

#include <int.hh>

List of all members.

Public Types

enum  Select {
  SEL_MIN, SEL_MED, SEL_MAX, SEL_RND,
  SEL_VAL_COMMIT
}
 

Which value selection.

More...

Public Member Functions

 IntAssign (Select s=SEL_MIN)
 Initialize with selection strategy s.
 IntAssign (Rnd r)
 Initialize with random number generator r.
 IntAssign (VoidFunction v, VoidFunction 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 4081 of file int.hh.


Member Enumeration Documentation

Which value selection.

Enumerator:
SEL_MIN 

Select smallest value.

SEL_MED 

Select greatest value not greater than the median.

SEL_MAX 

Select largest value.

SEL_RND 

Select random value.

SEL_VAL_COMMIT 

Select value according to user-defined functions.

Definition at line 4084 of file int.hh.


Constructor & Destructor Documentation

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

Initialize with selection strategy s.

Definition at line 41 of file assign.hpp.

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

Initialize with random number generator r.

Definition at line 45 of file assign.hpp.

Gecode::IntAssign::IntAssign ( VoidFunction  v,
VoidFunction  c 
) [inline]

Initialize with value function f and commit function c.

Definition at line 49 of file assign.hpp.


Member Function Documentation

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

Return selection strategy.

Definition at line 53 of file assign.hpp.


Member Data Documentation

Which value to select.

Definition at line 4093 of file int.hh.


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