QCP Class Reference
[Example scripts (models)]
Example: Quasigroup completion More...
Public Types | |
enum | { PROP_BINARY, PROP_DISTINCT } |
Propagation to use for model. More... | |
enum | { BRANCH_SIZE, BRANCH_AFC_SIZE, BRANCH_CBS_MAX_SD } |
Branching to use for model. More... | |
Public Member Functions | |
QCP (const QCPOptions &opt0) | |
Actual model. | |
virtual bool | slave (const MetaInfo &mi) |
Slave function for portfolio search. | |
QCP (QCP &s) | |
Constructor for cloning s. | |
virtual Space * | copy (void) |
Copy during cloning. | |
virtual void | print (std::ostream &os) const |
Print solution. | |
Protected Attributes | |
const QCPOptions & | opt |
Options. | |
const Spec | spec |
Specification. | |
IntVarArray | e |
Field elements e. | |
double | tbf |
Tie-breaking factor. |
Detailed Description
Example: Quasigroup completion
Definition at line 142 of file qcp.cpp.
Member Enumeration Documentation
anonymous enum |
anonymous enum |
Constructor & Destructor Documentation
Member Function Documentation
virtual bool QCP::slave | ( | const MetaInfo & | mi | ) | [inline, virtual] |
virtual Space* QCP::copy | ( | void | ) | [inline, virtual] |
virtual void QCP::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
Member Data Documentation
IntVarArray QCP::e [protected] |
The documentation for this class was generated from the following file:
- examples/qcp.cpp