Baseline Class Reference
[Scripts for problems]
Inherits Example.
Detailed Description
Example: Baseline testDefinition at line 46 of file baseline.cc.
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 &) |
Print solution. | |
Protected Attributes | |
IntVarArray | x |
Variables. |
Constructor & Destructor Documentation
Baseline::Baseline | ( | const Options & | ) | [inline] |
Baseline::Baseline | ( | bool | share, | |
Baseline & | s | |||
) | [inline] |
Member Function Documentation
virtual Space* Baseline::copy | ( | bool | share | ) | [inline, virtual] |
Perform copying during cloning.
Implements Gecode::Space.
Definition at line 64 of file baseline.cc.
virtual void Baseline::print | ( | std::ostream & | ) | [inline, virtual] |
Member Data Documentation
IntVarArray Baseline::x [protected] |
The documentation for this class was generated from the following file:
- examples/baseline.cc (Revision: 5524)