EFPAOptions Class Reference
Options for EFPA problems More...
List of all members.
Public Member Functions | |
| EFPAOptions (const char *s, int v0=5, int q0=3, int lambda0=2, int d0=4) | |
| Initialize options for example with name s. | |
| void | parse (int &argc, char *argv[]) |
| Parse options from arguments argv (number is argc). | |
| int | v (void) const |
| Get v, number of sequences. | |
| int | q (void) const |
| Get q, number of symbols. | |
| int | l (void) const |
| Get lambda, sets of symbols per sequence. | |
| int | d (void) const |
| Get d, Hamming distance between sequences. | |
| bool | permutation (void) const |
| Whether to use permutation constraints. Only active if d=4. | |
| bool | symmetry (void) const |
| Whether to use symmetry breaking. | |
Detailed Description
Options for EFPA problems
Definition at line 45 of file efpa.cpp.
Constructor & Destructor Documentation
| EFPAOptions::EFPAOptions | ( | const char * | s, | |
| int | v0 = 5, |
|||
| int | q0 = 3, |
|||
| int | lambda0 = 2, |
|||
| int | d0 = 4 | |||
| ) | [inline] |
Member Function Documentation
| void EFPAOptions::parse | ( | int & | argc, | |
| char * | argv[] | |||
| ) | [inline] |
Parse options from arguments argv (number is argc).
Reimplemented from Gecode::BaseOptions.
| int EFPAOptions::v | ( | void | ) | const [inline] |
| int EFPAOptions::q | ( | void | ) | const [inline] |
| int EFPAOptions::l | ( | void | ) | const [inline] |
| int EFPAOptions::d | ( | void | ) | const [inline] |
| bool EFPAOptions::permutation | ( | void | ) | const [inline] |
| bool EFPAOptions::symmetry | ( | void | ) | const [inline] |
Whether to use symmetry breaking.
Reimplemented from Gecode::Options.
The documentation for this class was generated from the following file:
- examples/efpa.cpp
