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.
|
| | Options (const char *s) |
| | Initialize options for script with name s.
|
| void | model (int v) |
| | Set default model value.
|
| void | model (int v, const char *o, const char *h=NULL) |
| | Add model option value for value v, string o, and help h.
|
| int | model (void) const |
| | Return model value.
|
| void | symmetry (int v) |
| | Set default symmetry value.
|
| void | symmetry (int v, const char *o, const char *h=NULL) |
| | Add symmetry option value for value v, string o, and help h.
|
| void | propagation (int v) |
| | Set default propagation value.
|
| void | propagation (int v, const char *o, const char *h=NULL) |
| | Add propagation option value for value v, string o, and help h.
|
| int | propagation (void) const |
| | Return propagation value.
|
| void | icl (IntConLevel i) |
| | Set default integer consistency level.
|
| IntConLevel | icl (void) const |
| | Return integer consistency level.
|
| void | branching (int v) |
| | Set default branching value.
|
| void | branching (int v, const char *o, const char *h=NULL) |
| | Add branching option value for value v, string o, and help h.
|
| int | branching (void) const |
| | Return branching value.
|
| void | search (int v) |
| | Set default search value.
|
| void | search (int v, const char *o, const char *h=NULL) |
| | Add search option value for value v, string o, and help h.
|
| int | search (void) const |
| | Return search value.
|
| void | solutions (unsigned int n) |
| | Set default number of solutions to search for.
|
| unsigned int | solutions (void) const |
| | Return number of solutions to search for.
|
| void | threads (double n) |
| | Set number of parallel threads.
|
| double | threads (void) const |
| | Return number of parallel threads.
|
| void | c_d (unsigned int d) |
| | Set default copy recomputation distance.
|
| unsigned int | c_d (void) const |
| | Return copy recomputation distance.
|
| void | a_d (unsigned int d) |
| | Set default adaptive recomputation distance.
|
| unsigned int | a_d (void) const |
| | Return adaptive recomputation distance.
|
| void | node (unsigned int n) |
| | Set default node cutoff.
|
| unsigned int | node (void) const |
| | Return node cutoff.
|
| void | fail (unsigned int n) |
| | Set default failure cutoff.
|
| unsigned int | fail (void) const |
| | Return failure cutoff.
|
| void | time (unsigned int t) |
| | Set default time cutoff.
|
| unsigned int | time (void) const |
| | Return time cutoff.
|
| void | interrupt (bool b) |
| | Set default interrupt behavior.
|
| bool | interrupt (void) const |
| | Return interrupt behavior.
|
| void | mode (ScriptMode em) |
| | Set default mode.
|
| ScriptMode | mode (void) const |
| | Return mode.
|
| void | iterations (unsigned int i) |
| | Set default number of iterations.
|
| unsigned int | iterations (void) const |
| | Return number of iterations.
|
| void | samples (unsigned int s) |
| | Set default number of samples.
|
| unsigned int | samples (void) const |
| | Return number of samples.
|
| | BaseOptions (const char *s) |
| | Initialize options for script with name s.
|
| virtual void | help (void) |
| | Print help text.
|
| void | add (Driver::BaseOption &o) |
| | Add new option o.
|
| const char * | name (void) const |
| | Return name of script.
|
| void | name (const char *) |
| | Set name of script.
|
| virtual | ~BaseOptions (void) |
| | Destructor.
|
Options for EFPA problems
Definition at line 49 of file efpa.cpp.