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 (Radiotherapy &s) | |
Constructor for cloning s. More... | |
virtual Space * | copy (void) |
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 (const Options &opt) | |
Constructor. More... | |
ScriptBase (ScriptBase &e) | |
Constructor used for cloning. More... | |
virtual void | compare (const Space &home, std::ostream &os) const |
Compare with s. More... | |
Additional Inherited Members | |
![]() | |
static std::ostream & | select_ostream (const char *sn, std::ofstream &ofs) |
Choose output stream according to sn. 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 374 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 384 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 422 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 441 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 456 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 475 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 494 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 509 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 531 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 552 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 574 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 596 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 617 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 643 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 662 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 686 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 709 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 728 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 751 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 768 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 790 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 811 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 827 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 846 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 863 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 881 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
Radiotherapy specifications.
Definition at line 899 of file radiotherapy.cpp.
|
related |
Radiotherapy specifications.
|
related |
|
related |
Main-function.
Definition at line 350 of file radiotherapy.cpp.