Example: Solving 20 linear equations More...
Public Member Functions | |
Eq20 (const Options &opt) | |
The actual problem. | |
Eq20 (bool share, Eq20 &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Perform copying during cloning. | |
virtual void | print (std::ostream &os) const |
Print solution. | |
Related Functions | |
(Note that these are not member functions.) | |
int | main (int argc, char *argv[]) |
Main-function. |
Example: Solving 20 linear equations
Standard benchmark for solving linear equations.
Eq20::Eq20 | ( | const Options & | opt | ) | [inline] |
Eq20::Eq20 | ( | bool | share, |
Eq20 & | s | ||
) | [inline] |
virtual Space* Eq20::copy | ( | bool | share | ) | [inline, virtual] |
virtual void Eq20::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
int main | ( | int | argc, |
char * | argv[] | ||
) | [related] |