Example: Radiotherapy More...
Classes | |
class | NestedSearch |
Nested search on the q variables. More... |
Public Member Functions | |
Radiotherapy (const SizeOptions &opt) | |
The actual problem. | |
void | incr_sum (IntVar &x, IntVarArgs &y, int mn) |
Post incremental sum constraint. | |
Radiotherapy (Radiotherapy &s) | |
Constructor for cloning s. | |
virtual Space * | copy (void) |
Perform copying during cloning. | |
virtual IntVar | cost (void) const |
Cost to be minimized. | |
virtual void | print (std::ostream &os) const |
Print solution. | |
Public Member Functions inherited from Gecode::Driver::ScriptBase< Driver::IgnoreStepOption< IntMinimizeSpace > > | |
ScriptBase (const Options &opt) | |
Constructor. | |
ScriptBase (ScriptBase &e) | |
Constructor used for cloning. | |
virtual void | compare (const Space &home, std::ostream &os) const |
Compare with s. | |
Public Member Functions inherited from Gecode::Driver::IgnoreStepOption< BaseSpace > | |
IgnoreStepOption (const Options &) | |
Constructor. | |
IgnoreStepOption (BaseSpace &e) | |
Constructor used for cloning. |
Related Symbols | |
(Note that these are not member symbols.) | |
static const int | intensity0 [] |
Radiotherapy specifications. | |
int | main (int argc, char *argv[]) |
Main-function. |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::Driver::ScriptBase< Driver::IgnoreStepOption< IntMinimizeSpace > > | |
static std::ostream & | select_ostream (const char *sn, std::ofstream &ofs) |
Choose output stream according to sn. | |
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 98 of file radiotherapy.cpp.
|
inline |
The actual problem.
Definition at line 117 of file radiotherapy.cpp.
|
inline |
Constructor for cloning s.
Definition at line 176 of file radiotherapy.cpp.
|
inline |
Post incremental sum constraint.
Definition at line 164 of file radiotherapy.cpp.
|
inlinevirtual |
Perform copying during cloning.
Definition at line 187 of file radiotherapy.cpp.
|
inlinevirtual |
Cost to be minimized.
Definition at line 193 of file radiotherapy.cpp.
|
inlinevirtual |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< Driver::IgnoreStepOption< IntMinimizeSpace > >.
Definition at line 197 of file radiotherapy.cpp.
|
Radiotherapy specifications.
Definition at line 370 of file radiotherapy.cpp.
|
Main-function.
Definition at line 346 of file radiotherapy.cpp.