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

Variable branching information. More...

#include <branch-var.hpp>

Public Member Functions

 VarBranch (BranchTbl t)
 Initialize with tie-break limit function t. More...
 
 VarBranch (Rnd r)
 Initialize with random number generator r. More...
 
 VarBranch (double d, BranchTbl t)
 Initialize with decay factor d and tie-break limit function t. More...
 
 VarBranch (AFC a, BranchTbl t)
 Initialize with AFC a and tie-break limit function t. More...
 
 VarBranch (Activity a, BranchTbl t)
 Initialize with activity a and tie-break limit function t. More...
 
 VarBranch (void(*f)(void), BranchTbl t)
 Initialize with merit function f and tie-break limit function t. More...
 
BranchTbl tbl (void) const
 Return tie-break limit function. More...
 
Rnd rnd (void) const
 Return random number generator. More...
 
double decay (void) const
 Return decay factor. More...
 
AFC afc (void) const
 Return AFC. More...
 
void afc (AFC a)
 Set AFC to a. More...
 
Activity activity (void) const
 Return activity. More...
 
void activity (Activity a)
 Set activity to a. More...
 
VoidFunction merit (void) const
 Return merit function. More...
 

Protected Attributes

BranchTbl _tbl
 Tie-breaking limit function. More...
 
Rnd _rnd
 Random number generator. More...
 
double _decay
 Decay information for AFC and activity. More...
 
AFC _afc
 AFC information. More...
 
Activity _act
 Activity information. More...
 
VoidFunction _mf
 Merit function (generic function pointer) More...
 

Detailed Description

Variable branching information.

Definition at line 55 of file branch-var.hpp.

Constructor & Destructor Documentation

Gecode::VarBranch::VarBranch ( BranchTbl  t)
inline

Initialize with tie-break limit function t.

Definition at line 102 of file branch-var.hpp.

Gecode::VarBranch::VarBranch ( Rnd  r)
inline

Initialize with random number generator r.

Definition at line 124 of file branch-var.hpp.

Gecode::VarBranch::VarBranch ( double  d,
BranchTbl  t 
)
inline

Initialize with decay factor d and tie-break limit function t.

Definition at line 106 of file branch-var.hpp.

Gecode::VarBranch::VarBranch ( AFC  a,
BranchTbl  t 
)
inline

Initialize with AFC a and tie-break limit function t.

Definition at line 110 of file branch-var.hpp.

Gecode::VarBranch::VarBranch ( Activity  a,
BranchTbl  t 
)
inline

Initialize with activity a and tie-break limit function t.

Definition at line 117 of file branch-var.hpp.

Gecode::VarBranch::VarBranch ( void(*)(void)  f,
BranchTbl  t 
)
inline

Initialize with merit function f and tie-break limit function t.

Definition at line 131 of file branch-var.hpp.

Member Function Documentation

BranchTbl Gecode::VarBranch::tbl ( void  ) const
inline

Return tie-break limit function.

Definition at line 135 of file branch-var.hpp.

Rnd Gecode::VarBranch::rnd ( void  ) const
inline

Return random number generator.

Definition at line 140 of file branch-var.hpp.

double Gecode::VarBranch::decay ( void  ) const
inline

Return decay factor.

Definition at line 145 of file branch-var.hpp.

AFC Gecode::VarBranch::afc ( void  ) const
inline

Return AFC.

Definition at line 150 of file branch-var.hpp.

void Gecode::VarBranch::afc ( AFC  a)
inline

Set AFC to a.

Definition at line 155 of file branch-var.hpp.

Activity Gecode::VarBranch::activity ( void  ) const
inline

Return activity.

Definition at line 160 of file branch-var.hpp.

void Gecode::VarBranch::activity ( Activity  a)
inline

Set activity to a.

Definition at line 165 of file branch-var.hpp.

VoidFunction Gecode::VarBranch::merit ( void  ) const
inline

Return merit function.

Definition at line 170 of file branch-var.hpp.

Member Data Documentation

BranchTbl Gecode::VarBranch::_tbl
protected

Tie-breaking limit function.

Definition at line 58 of file branch-var.hpp.

Rnd Gecode::VarBranch::_rnd
protected

Random number generator.

Definition at line 60 of file branch-var.hpp.

double Gecode::VarBranch::_decay
protected

Decay information for AFC and activity.

Definition at line 62 of file branch-var.hpp.

AFC Gecode::VarBranch::_afc
protected

AFC information.

Definition at line 64 of file branch-var.hpp.

Activity Gecode::VarBranch::_act
protected

Activity information.

Definition at line 66 of file branch-var.hpp.

VoidFunction Gecode::VarBranch::_mf
protected

Merit function (generic function pointer)

Definition at line 68 of file branch-var.hpp.


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