Generated on Thu Jan 20 2022 00:00:00 for Gecode by doxygen 1.9.1

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

#include <int.hh>

Public Types

enum  Select { SEL_MIN , SEL_MAX , SEL_RND , SEL_VAL_COMMIT }
 Which value selection. More...
 
- Public Types inherited from Gecode::ValBranch< BoolVar >
typedef BranchTraits< BoolVar >::Val BranchVal
 The corresponding branching value function. More...
 
typedef BranchTraits< BoolVar >::Commit BranchCommit
 The corresponding branching commit function. More...
 

Public Member Functions

 BoolValBranch (Select s=SEL_MIN)
 Initialize with selection strategy s. More...
 
 BoolValBranch (Rnd r)
 Initialize with random number generator r. More...
 
 BoolValBranch (BoolBranchVal v, BoolBranchCommit c)
 Initialize with value function f and commit function c. More...
 
Select select (void) const
 Return selection strategy. More...
 
- Public Member Functions inherited from Gecode::ValBranch< BoolVar >
 ValBranch (void)
 Initialize. More...
 
 ValBranch (Rnd r)
 Initialize with random number generator r. More...
 
 ValBranch (BranchVal v, BranchCommit c)
 Initialize with value function v and commit function c. More...
 
Rnd rnd (void) const
 Return random number generator. More...
 
BranchVal val (void) const
 Return value function. More...
 
BranchCommit commit (void) const
 Return commit function. More...
 

Protected Attributes

Select s
 Which value to select. More...
 
- Protected Attributes inherited from Gecode::ValBranch< BoolVar >
Rnd r
 Random number generator. More...
 
BranchVal vf
 Value function. More...
 
BranchCommit cf
 Commit function. More...
 

Detailed Description

Which values to select for branching first.

Definition at line 4889 of file int.hh.

Member Enumeration Documentation

◆ Select

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 4892 of file int.hh.

Constructor & Destructor Documentation

◆ BoolValBranch() [1/3]

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

Initialize with selection strategy s.

Definition at line 112 of file val.hpp.

◆ BoolValBranch() [2/3]

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

Initialize with random number generator r.

Definition at line 116 of file val.hpp.

◆ BoolValBranch() [3/3]

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

◆ select()

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

Return selection strategy.

Definition at line 124 of file val.hpp.

Member Data Documentation

◆ s

Select Gecode::BoolValBranch::s
protected

Which value to select.

Definition at line 4900 of file int.hh.


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