
Nested search on the q variables. More...
Public Member Functions | |
| virtual bool | status (const Space &) const |
| Check status of brancher, return true if alternatives left. | |
| IntVarArgs | getRow (Radiotherapy *row, int i) |
| virtual Gecode::Choice * | choice (Space &home) |
| Return choice. | |
| virtual Choice * | choice (const Space &, Archive &e) |
| Return choice. | |
| virtual ExecStatus | commit (Space &, const Gecode::Choice &_c, unsigned int) |
| Perform commit for choice _c and alternative a. | |
| virtual void | print (const Space &, const Gecode::Choice &_c, unsigned int, std::ostream &o) const |
| Print explanation. | |
| virtual Actor * | copy (Space &home) |
| Copy brancher. | |
| size_t | dispose (Space &home) |
| Dispose member function. | |
| virtual NGL * | ngl (Space &home, const Choice &c, unsigned int a) const |
| Create no-good literal for choice c and alternative a. | |
| unsigned int | id (void) const |
| Return brancher id. | |
| BrancherGroup | group (void) const |
| Return group brancher belongs to. | |
| void | group (BrancherGroup g) |
| Add brancher to group g. | |
| virtual | ~Actor (void) |
| To avoid warnings. | |
Static Public Member Functions | |
| static void | post (Home home) |
| Post brancher. | |
| static void * | operator new (size_t s, Space &home) |
| Allocate memory from space. | |
| static void | operator delete (void *p, Space &home) |
| No-op for exceptions. | |
| static void * | operator new (size_t s) |
| Not used. | |
| static void | operator delete (void *p) |
| Not used. | |
Additional Inherited Members | |
Protected Member Functions inherited from Gecode::Brancher | |
| Brancher (Home home) | |
| Constructor for creation. | |
| Brancher (Space &home, Brancher &b) | |
| Constructor for cloning b. | |
Nested search on the q variables.
Definition at line 203 of file radiotherapy.cpp.
|
inlinevirtual |
Check status of brancher, return true if alternatives left.
This method is called when Space::status is called, it determines whether to continue branching with this brancher or move on to the (possibly) next brancher.
Implements Gecode::Brancher.
Definition at line 254 of file radiotherapy.cpp.
|
inline |
Definition at line 258 of file radiotherapy.cpp.
|
inlinevirtual |
|
inlinevirtual |
Perform commit for choice _c and alternative a.
Implements Gecode::Brancher.
Definition at line 307 of file radiotherapy.cpp.
|
inlinevirtual |
Print explanation.
Reimplemented from Gecode::Brancher.
Definition at line 311 of file radiotherapy.cpp.
|
inlinestatic |
Post brancher.
Definition at line 322 of file radiotherapy.cpp.
|
inlinevirtual |
Dispose member function.
Reimplemented from Gecode::Actor.
Definition at line 326 of file radiotherapy.cpp.