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. | |
![]() | |
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. | |
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 std::ostream & | select_ostream (const char *sn, std::ofstream &ofs) |
Choose output stream according to sn. | |
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 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.
Perform copying during cloning.
Definition at line 187 of file radiotherapy.cpp.
Cost to be minimized.
Definition at line 193 of file radiotherapy.cpp.
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
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.