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 from e. | |
virtual ExecStatus | commit (Space &, const Gecode::Choice &_c, unsigned int) |
Commit for choice c and alternative a. | |
virtual Actor * | copy (Space &home, bool share) |
Copy brancher. | |
size_t | dispose (Space &home) |
Dispose member function. | |
![]() | |
unsigned int | id (void) const |
Return unsigned brancher id. |
Static Public Member Functions | |
static void | post (Home home) |
Post brancher. |
Additional Inherited Members | |
![]() | |
Brancher (Home home) | |
Constructor for creation. | |
Brancher (Space &home, bool share, Brancher &b) | |
Constructor for cloning b. |
Nested search on the q variables.
Definition at line 207 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 263 of file radiotherapy.cpp.
|
inline |
Definition at line 267 of file radiotherapy.cpp.
|
inlinevirtual |
Return choice.
Note that this method relies on the fact that it is called immediately after a previous call to status. Moreover, the member function can only be called once.
Implements Gecode::Brancher.
Definition at line 278 of file radiotherapy.cpp.
|
inlinevirtual |
Commit for choice c and alternative a.
The current brancher in the space home performs a commit from the information provided by the choice c and the alternative a.
Implements Gecode::Brancher.
Definition at line 314 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.