Generated on Fri Oct 19 11:25:45 2018 for Gecode by doxygen 1.6.3

Gecode::IntValBranch Class Reference
[Branching]

Which values to select for branching first. More...

#include <int.hh>

List of all members.

Public Types

enum  Select {
  SEL_MIN, SEL_MED, SEL_MAX, SEL_RND,
  SEL_SPLIT_MIN, SEL_SPLIT_MAX, SEL_RANGE_MIN, SEL_RANGE_MAX,
  SEL_VAL_COMMIT, SEL_VALUES_MIN, SEL_VALUES_MAX
}
 

Which value selection.

More...

Public Member Functions

 IntValBranch (Select s=SEL_MIN)
 Initialize with selection strategy s.
 IntValBranch (Rnd r)
 Initialize with random number generator r.
 IntValBranch (IntBranchVal v, IntBranchCommit 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 branching first.

Definition at line 4791 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_SPLIT_MIN 

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

SEL_SPLIT_MAX 

Select values greater than mean of smallest and largest value.

SEL_RANGE_MIN 

Select the smallest range of the variable domain if it has several ranges, otherwise select values not greater than mean of smallest and largest value.

SEL_RANGE_MAX 

Select the largest range of the variable domain if it has several ranges, otherwise select values greater than mean of smallest and largest value.

SEL_VAL_COMMIT 

Select value according to user-defined functions.

SEL_VALUES_MIN 

Select all values starting from smallest.

SEL_VALUES_MAX 

Select all values starting from largest.

Definition at line 4794 of file int.hh.


Constructor & Destructor Documentation

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

Initialize with selection strategy s.

Definition at line 37 of file val.hpp.

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

Initialize with random number generator r.

Definition at line 41 of file val.hpp.

Gecode::IntValBranch::IntValBranch ( IntBranchVal  v,
IntBranchCommit  c 
) [inline]

Initialize with value function f and commit function c.

Definition at line 45 of file val.hpp.


Member Function Documentation

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

Return selection strategy.

Definition at line 49 of file val.hpp.


Member Data Documentation

Which value to select.

Definition at line 4809 of file int.hh.


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