Baseline Class Reference
[Scripts for problems]
Example: Baseline test More...
Public Member Functions | |
Baseline (const Options &) | |
The actual problem. | |
Baseline (bool share, Baseline &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Perform copying during cloning. | |
virtual void | print (std::ostream &) const |
Print solution. | |
Protected Attributes | |
IntVarArray | x |
Variables. |
Detailed Description
Example: Baseline test
Definition at line 49 of file baseline.cpp.
Constructor & Destructor Documentation
Baseline::Baseline | ( | const Options & | ) | [inline] |
The actual problem.
Definition at line 55 of file baseline.cpp.
Baseline::Baseline | ( | bool | share, | |
Baseline & | s | |||
) | [inline] |
Constructor for cloning s.
Definition at line 61 of file baseline.cpp.
Member Function Documentation
virtual Space* Baseline::copy | ( | bool | share | ) | [inline, virtual] |
Perform copying during cloning.
Definition at line 67 of file baseline.cpp.
virtual void Baseline::print | ( | std::ostream & | ) | const [inline, virtual] |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
Definition at line 73 of file baseline.cpp.
Member Data Documentation
IntVarArray Baseline::x [protected] |
Variables.
Definition at line 52 of file baseline.cpp.
The documentation for this class was generated from the following file:
- examples/baseline.cpp (Revision: 8649)