Generated on Sat Feb 7 2015 02:01:40 for Gecode by doxygen 1.8.9.1

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

#include <int.hh>

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, SEL_NEAR_MIN,
  SEL_NEAR_MAX, SEL_NEAR_INC, SEL_NEAR_DEC
}
 Which value selection. More...
 

Public Member Functions

 IntValBranch (Select s=SEL_MIN)
 Initialize with selection strategy s. More...
 
 IntValBranch (Rnd r)
 Initialize with random number generator r. More...
 
 IntValBranch (VoidFunction v, VoidFunction c)
 Initialize with value function f and commit function c. More...
 
 IntValBranch (Select s, IntSharedArray n)
 Initialize with selection startegy s and values n. More...
 
Select select (void) const
 Return selection strategy. More...
 
IntSharedArray values (void) const
 Return shared array of values. More...
 
- Public Member Functions inherited from Gecode::ValBranch
 ValBranch (void)
 Initialize. More...
 
 ValBranch (Rnd r)
 Initialize with random number generator r. More...
 
 ValBranch (VoidFunction v, VoidFunction c)
 Initialize with value function v and commit function c. More...
 
Rnd rnd (void) const
 Return random number generator. More...
 
VoidFunction val (void) const
 Return value function. More...
 
VoidFunction commit (void) const
 Return commit function. More...
 

Protected Attributes

IntSharedArray n
 Array of values for near strategies. More...
 
Select s
 Which value to select. More...
 
- Protected Attributes inherited from Gecode::ValBranch
Rnd r
 Random number generator. More...
 
VoidFunction vf
 Value function. More...
 
VoidFunction cf
 Commit function. More...
 

Detailed Description

Which values to select for branching first.

Definition at line 3981 of file int.hh.

Constructor & Destructor Documentation

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

Initialize with selection strategy s.

Definition at line 41 of file val.hpp.

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

Initialize with random number generator r.

Definition at line 45 of file val.hpp.

Gecode::IntValBranch::IntValBranch ( VoidFunction  v,
VoidFunction  c 
)
inline

Initialize with value function f and commit function c.

Definition at line 49 of file val.hpp.

Gecode::IntValBranch::IntValBranch ( Select  s,
IntSharedArray  n 
)
inline

Initialize with selection startegy s and values n.

Definition at line 53 of file val.hpp.

Member Function Documentation

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

Return selection strategy.

Definition at line 57 of file val.hpp.

IntSharedArray Gecode::IntValBranch::values ( void  ) const
inline

Return shared array of values.

Definition at line 62 of file val.hpp.

Member Data Documentation

IntSharedArray Gecode::IntValBranch::n
protected

Array of values for near strategies.

Definition at line 4003 of file int.hh.

Select Gecode::IntValBranch::s
protected

Which value to select.

Definition at line 4005 of file int.hh.


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