Gecode::Branching Class Reference
[Programming actors]
Inherits Gecode::Actor.
Inherited by Gecode::Int::Branch::Assign, and Gecode::ViewValBranching< View, Val, ViewSel, ValSel >.
Detailed Description
Base-class for branchings.
Definition at line 521 of file core.icc.
Branching | |
virtual unsigned int | branch (void)=0 |
Perform branching, return number of alternatives. | |
virtual ExecStatus | commit (Space *, unsigned int a, BranchingDesc *d)=0 |
Perform commit for alternative a. | |
virtual BranchingDesc * | description (void)=0 |
Return branching description (if NULL, no batch recomputation is used). | |
Protected Member Functions | |
Branching (Space *home, bool fd=false) | |
Constructor for creation, force deletion if fd is true. | |
Branching (Space *home, bool share, Branching &b) | |
Constructor for cloning b. |
Constructor & Destructor Documentation
|
Constructor for creation, force deletion if fd is true.
|
|
Constructor for cloning b.
|
Member Function Documentation
|
Perform branching, return number of alternatives.
Implemented in Gecode::Int::Branch::Assign, and Gecode::ViewValBranching< View, Val, ViewSel, ValSel >. |
|
Perform commit for alternative a. If d is different from NULL, replay commit from information stored in the branching description d. Otherwise, let the branching decide how to commit to alternative a. Implemented in Gecode::Int::Branch::AssignMin, Gecode::Int::Branch::AssignMed, Gecode::Int::Branch::AssignMax, and Gecode::ViewValBranching< View, Val, ViewSel, ValSel >. |
|
Return branching description (if NULL, no batch recomputation is used).
Implemented in Gecode::Int::Branch::AssignMin, Gecode::Int::Branch::AssignMed, Gecode::Int::Branch::AssignMax, and Gecode::ViewValBranching< View, Val, ViewSel, ValSel >. |
The documentation for this class was generated from the following file:
- kernel/core.icc (Revision: 2668)