SteelMill::SteelMillBranch Class Reference
Custom branching for steel mill slab design. More...
Public Member Functions | |
| virtual bool | status (const Space &home) const |
| Check status of branching, return true if alternatives left. | |
| virtual BranchingDesc * | description (Space &home) |
| Return branching description. | |
| virtual ExecStatus | commit (Space &home, const BranchingDesc &d, unsigned int a) |
| Perform commit for branching description d and alternative a. | |
| virtual Actor * | copy (Space &home, bool share) |
| Copy branching. | |
Static Public Member Functions | |
| static void | post (Space &home) |
| Post branching. | |
Detailed Description
Custom branching for steel mill slab design.This class implements a custom branching for SteelMill that considers all slabs with no order assigned to it currently to be symmetric.
Definition at line 319 of file steel-mill.cpp.
Member Function Documentation
| virtual bool SteelMill::SteelMillBranch::status | ( | const Space & | home | ) | const [inline, virtual] |
Check status of branching, return true if alternatives left.
Implements Gecode::Branching.
Definition at line 350 of file steel-mill.cpp.
| virtual BranchingDesc* SteelMill::SteelMillBranch::description | ( | Space & | home | ) | [inline, virtual] |
Return branching description.
Implements Gecode::Branching.
Definition at line 361 of file steel-mill.cpp.
| virtual ExecStatus SteelMill::SteelMillBranch::commit | ( | Space & | home, | |
| const BranchingDesc & | d, | |||
| unsigned int | a | |||
| ) | [inline, virtual] |
Perform commit for branching description d and alternative a.
Implements Gecode::Branching.
Definition at line 391 of file steel-mill.cpp.
| static void SteelMill::SteelMillBranch::post | ( | Space & | home | ) | [inline, static] |
The documentation for this class was generated from the following file:
- examples/steel-mill.cpp (Revision: 9118)
