
Example: All-interval series More...
Public Member Functions | |
| AllInterval (const SizeOptions &opt) | |
| Actual model. | |
| AllInterval (AllInterval &s) | |
| Constructor for cloning e. | |
| virtual Space * | copy (void) |
| Copy during cloning. | |
| virtual void | print (std::ostream &os) const |
| Print solution. | |
Public Member Functions inherited from Gecode::Driver::ScriptBase< Driver::IgnoreStepOption< Space > > | |
| 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. | |
| 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.) | |
| int | main (int argc, char *argv[]) |
| Main-function. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::Driver::ScriptBase< Driver::IgnoreStepOption< Space > > | |
| 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) |
| 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: All-interval series
An all-interval series of length 
![\[(x_0,x_1,\ldots,x_{n-1})
\]](form_5.png)
where each 








See also problem 7 at http://www.csplib.org/.
Definition at line 62 of file all-interval.cpp.
|
inline |
Actual model.
Definition at line 70 of file all-interval.cpp.
|
inline |
Constructor for cloning e.
Definition at line 91 of file all-interval.cpp.
|
inlinevirtual |
Copy during cloning.
Definition at line 98 of file all-interval.cpp.
|
inlinevirtual |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< Driver::IgnoreStepOption< Space > >.
Definition at line 103 of file all-interval.cpp.
|
Main-function.
Definition at line 117 of file all-interval.cpp.