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

Gecode::BoolValBranch 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_MAX, SEL_RND, SEL_VAL_COMMIT }
 

Which value selection.

More...

Public Member Functions

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


Member Enumeration Documentation

Which value selection.

Enumerator:
SEL_MIN 

Select smallest value.

SEL_MAX 

Select largest value.

SEL_RND 

Select random value.

SEL_VAL_COMMIT 

Select value according to user-defined functions.

Definition at line 4829 of file int.hh.


Constructor & Destructor Documentation

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

Initialize with selection strategy s.

Definition at line 112 of file val.hpp.

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

Initialize with random number generator r.

Definition at line 116 of file val.hpp.

Gecode::BoolValBranch::BoolValBranch ( BoolBranchVal  v,
BoolBranchCommit  c 
) [inline]

Initialize with value function f and commit function c.

Definition at line 120 of file val.hpp.


Member Function Documentation

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

Return selection strategy.

Definition at line 124 of file val.hpp.


Member Data Documentation

Which value to select.

Definition at line 4837 of file int.hh.


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