Gecode::ValBranch< Var > Class Template Reference
[Generic branching support]
Value branching information. More...
#include <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 >
Value branching information.
Definition at line 41 of file val.hpp.
Member Typedef Documentation
template<class Var>
| typedef BranchTraits<Var>::Val Gecode::ValBranch< Var >::BranchVal |
template<class Var>
| typedef BranchTraits<Var>::Commit Gecode::ValBranch< Var >::BranchCommit |
Constructor & Destructor Documentation
template<class Var >
| Gecode::ValBranch< Var >::ValBranch | ( | void | ) | [inline] |
template<class Var >
| Gecode::ValBranch< Var >::ValBranch | ( | Rnd | r | ) | [inline] |
template<class Var >
| Gecode::ValBranch< Var >::ValBranch | ( | BranchVal | v, | |
| BranchCommit | c | |||
| ) | [inline] |
Member Function Documentation
template<class Var >
| Rnd Gecode::ValBranch< Var >::rnd | ( | void | ) | const [inline] |
template<class Var >
| ValBranch< Var >::BranchVal Gecode::ValBranch< Var >::val | ( | void | ) | const [inline] |
template<class Var >
| ValBranch< Var >::BranchCommit Gecode::ValBranch< Var >::commit | ( | void | ) | const [inline] |
Member Data Documentation
template<class Var>
Rnd Gecode::ValBranch< Var >::r [protected] |
template<class Var>
BranchVal Gecode::ValBranch< Var >::vf [protected] |
template<class Var>
BranchCommit Gecode::ValBranch< Var >::cf [protected] |
The documentation for this class was generated from the following file:
- gecode/kernel/branch/val.hpp
