Example: Radiotherapy More...
Classes | |
class | NestedSearch |
Nested search on the q variables. More... | |
Public Member Functions | |
Radiotherapy (const SizeOptions &opt) | |
The actual problem. More... | |
void | incr_sum (IntVar &x, IntVarArgs &y, int mn) |
Post incremental sum constraint. More... | |
Radiotherapy (bool share, Radiotherapy &s) | |
Constructor for cloning s. More... | |
virtual Space * | copy (bool share) |
Perform copying during cloning. More... | |
virtual IntVar | cost (void) const |
Cost to be minimized. More... | |
virtual void | print (std::ostream &os) const |
Print solution. More... | |
![]() | |
ScriptBase (void) | |
Default constructor. More... | |
ScriptBase (bool share, ScriptBase &e) | |
Constructor used for cloning. More... | |
virtual void | compare (const Space &, std::ostream &os) const |
Compare with s. More... | |
Additional Inherited Members | |
![]() | |
static std::ostream & | select_ostream (const char *name, std::ofstream &ofs) |
Choose output stream according to name. More... | |
template<class Script , template< class > class Engine, class Options > | |
static void | run (const Options &opt, Script *s=NULL) |
Example: Radiotherapy
Implementation of the model for cancer radiation treatment planning from the paper
Davaatseren Baatar, Natashia Boland, Sebastian Brand, Peter J. Stuckey. Minimum Cardinality Matrix Decomposition into Consecutive-Ones Matrices: CP and IP Approaches. CPAIOR 2007
Definition at line 102 of file radiotherapy.cpp.
|
inline |
The actual problem.
Definition at line 121 of file radiotherapy.cpp.
|
inline |
Constructor for cloning s.
Definition at line 180 of file radiotherapy.cpp.
|
inline |
Post incremental sum constraint.
Definition at line 168 of file radiotherapy.cpp.
|
inlinevirtual |
Perform copying during cloning.
Definition at line 191 of file radiotherapy.cpp.
|
inlinevirtual |
Cost to be minimized.
Definition at line 197 of file radiotherapy.cpp.
|
inlinevirtual |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
Definition at line 201 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
Definition at line 379 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 389 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 427 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 446 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 461 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 480 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 499 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 514 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 536 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 557 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 579 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 601 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 622 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 648 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 667 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 691 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 714 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 733 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 756 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 773 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 795 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 816 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 832 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 851 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 868 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 886 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 904 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
|
related |
Main-function.
Definition at line 355 of file radiotherapy.cpp.