Gecode::Gist::Branch Class Reference
Representation of a branch in the search tree. More...
Public Member Functions | |
Branch (int a, const Choice *c, SpaceNode *best=NULL, BranchKind bk=BK_NORMAL) | |
Constructor. | |
Branch (int a, const SpecialDesc *d, BranchKind bk, SpaceNode *best=NULL) | |
Branch (int a, const StepDesc *d, BranchKind bk, SpaceNode *best=NULL) | |
Public Attributes | |
int | alternative |
Alternative number. | |
SpaceNode * | ownBest |
The best space known when the branch was created. | |
const BranchKind | branchKind |
union { | |
const SpecialDesc * special | |
Special branching description. | |
const Choice * branch | |
Branching description. | |
const StepDesc * step | |
Step description. | |
} | desc |
Detailed Description
Representation of a branch in the search tree.
Definition at line 51 of file spacenode.cpp.
Constructor & Destructor Documentation
Gecode::Gist::Branch::Branch | ( | int | a, | |
const Choice * | c, | |||
SpaceNode * | best = NULL , |
|||
BranchKind | bk = BK_NORMAL | |||
) | [inline] |
Constructor.
Definition at line 68 of file spacenode.cpp.
Gecode::Gist::Branch::Branch | ( | int | a, | |
const SpecialDesc * | d, | |||
BranchKind | bk, | |||
SpaceNode * | best = NULL | |||
) | [inline] |
Definition at line 73 of file spacenode.cpp.
Gecode::Gist::Branch::Branch | ( | int | a, | |
const StepDesc * | d, | |||
BranchKind | bk, | |||
SpaceNode * | best = NULL | |||
) | [inline] |
Definition at line 77 of file spacenode.cpp.
Member Data Documentation
Alternative number.
Definition at line 54 of file spacenode.cpp.
The best space known when the branch was created.
Definition at line 56 of file spacenode.cpp.
Definition at line 57 of file spacenode.cpp.
Special branching description.
Definition at line 60 of file spacenode.cpp.
Branching description.
Definition at line 62 of file spacenode.cpp.
Step description.
Definition at line 64 of file spacenode.cpp.
union { ... } Gecode::Gist::Branch::desc |
The documentation for this class was generated from the following file:
- gecode/gist/spacenode.cpp (Revision: 9766)