Gecode::ValBranch< Var > Class Template Reference
Value branching information. More...
#include <gecode/kernel/branch/val.hpp>
Public Types | |
| typedef BranchTraits< Var >::Val | BranchVal |
| The corresponding branching value function. | |
| typedef BranchTraits< Var >::Commit | BranchCommit |
| The corresponding branching commit function. | |
Public Member Functions | |
| ValBranch (void) | |
| Initialize. | |
| ValBranch (Rnd r) | |
| Initialize with random number generator r. | |
| ValBranch (BranchVal v, BranchCommit c) | |
| Initialize with value function v and commit function c. | |
| Rnd | rnd (void) const |
| Return random number generator. | |
| BranchVal | val (void) const |
| Return value function. | |
| BranchCommit | commit (void) const |
| Return commit function. | |
Protected Attributes | |
| Rnd | r |
| Random number generator. | |
| BranchVal | vf |
| Value function. | |
| BranchCommit | cf |
| Commit function. | |
Detailed Description
template<class Var>
class Gecode::ValBranch< Var >
class Gecode::ValBranch< Var >
Value branching information.
Member Typedef Documentation
◆ BranchVal
template<class Var>
| typedef BranchTraits<Var>::Val Gecode::ValBranch< Var >::BranchVal |
◆ BranchCommit
template<class Var>
| typedef BranchTraits<Var>::Commit Gecode::ValBranch< Var >::BranchCommit |
Constructor & Destructor Documentation
◆ ValBranch() [1/3]
template<class Var>
|
inline |
◆ ValBranch() [2/3]
template<class Var>
|
inline |
◆ ValBranch() [3/3]
template<class Var>
|
inline |
Member Function Documentation
◆ rnd()
template<class Var>
|
inline |
◆ val()
template<class Var>
|
inline |
◆ commit()
template<class Var>
|
inline |
Member Data Documentation
◆ r
template<class Var>
|
protected |
◆ vf
template<class Var>
|
protected |
◆ cf
template<class Var>
|
protected |
The documentation for this class was generated from the following file:
- gecode/kernel/branch/val.hpp
