Options for running FlatZinc models More...
#include <gecode/flatzinc.hh>
Execution options | |
| Gecode::Driver::StringOption | _mode |
| Script mode to run. | |
| Gecode::Driver::BoolOption | _stat |
| Emit statistics. | |
| Gecode::Driver::StringValueOption | _output |
| Output file. | |
| Gecode::Driver::ProfilerOption | _profiler |
| Use this execution id for the CP-profiler. | |
| FlatZincOptions (const char *s) | |
| Constructor. | |
| void | parse (int &argc, char *argv[]) |
| Script mode to run. | |
| virtual void | help (void) |
| Script mode to run. | |
| int | solutions (void) const |
| Script mode to run. | |
| bool | allSolutions (void) const |
| Script mode to run. | |
| double | threads (void) const |
| Script mode to run. | |
| bool | free (void) const |
| Script mode to run. | |
| unsigned int | c_d (void) const |
| Script mode to run. | |
| unsigned int | a_d (void) const |
| Script mode to run. | |
| unsigned long long int | node (void) const |
| Script mode to run. | |
| unsigned long long int | fail (void) const |
| Script mode to run. | |
| double | time (void) const |
| Script mode to run. | |
| int | seed (void) const |
| Script mode to run. | |
| double | step (void) const |
| Script mode to run. | |
| const char * | output (void) const |
| Script mode to run. | |
| Gecode::ScriptMode | mode (void) const |
| Script mode to run. | |
| double | decay (void) const |
| Script mode to run. | |
| RestartMode | restart (void) const |
| Script mode to run. | |
| void | restart (RestartMode rm) |
| Script mode to run. | |
| double | restart_base (void) const |
| Script mode to run. | |
| void | restart_base (double d) |
| Script mode to run. | |
| unsigned int | restart_scale (void) const |
| Script mode to run. | |
| void | restart_scale (int i) |
| Script mode to run. | |
| unsigned long long int | restart_limit (void) const |
| Script mode to run. | |
| bool | nogoods (void) const |
| Script mode to run. | |
| unsigned int | nogoods_limit (void) const |
| Script mode to run. | |
| bool | interrupt (void) const |
| Script mode to run. | |
| int | profiler_id (void) const |
| Script mode to run. | |
| unsigned int | profiler_port (void) const |
| Script mode to run. | |
| bool | profiler_info (void) const |
| Script mode to run. | |
| void | allSolutions (bool b) |
| Script mode to run. | |
Additional Inherited Members | |
| Public Member Functions inherited from Gecode::BaseOptions | |
| BaseOptions (const char *s) | |
| Initialize options for script with name s. | |
| void | add (Driver::BaseOption &o) |
| Add new option o. | |
| void | parse (int &argc, char *argv[]) |
| Parse options from arguments argv (number is argc). | |
| void | parse (int &argc, char *argv[], bool strict) |
| Parse options, optionally rejecting unrecognised arguments. | |
| void | parse_strict (int &argc, char *argv[]) |
Parse options with strict checking (equivalent to parse() with true). | |
| void | parse_permissive (int &argc, char *argv[]) |
Parse options partially (equivalent to parse() with false). | |
| const char * | name (void) const |
| Return name of script. | |
| void | name (const char *) |
| Set name of script. | |
| virtual | ~BaseOptions (void) |
| Destructor. | |
| Protected Attributes inherited from Gecode::BaseOptions | |
| Driver::BaseOption * | fst |
| First registered option. | |
| Driver::BaseOption * | lst |
| Last registered option. | |
| const char * | _name |
| Script name. | |
Detailed Description
Options for running FlatZinc models
Definition at line 226 of file flatzinc.hh.
Constructor & Destructor Documentation
◆ FlatZincOptions()
|
inline |
Constructor.
Definition at line 265 of file flatzinc.hh.
Member Function Documentation
◆ parse()
|
inline |
Script mode to run.
Definition at line 324 of file flatzinc.hh.
◆ help()
|
inlinevirtual |
Script mode to run.
Reimplemented from Gecode::BaseOptions.
Definition at line 336 of file flatzinc.hh.
◆ solutions()
|
inline |
Script mode to run.
Definition at line 343 of file flatzinc.hh.
◆ allSolutions() [1/2]
|
inline |
Script mode to run.
Definition at line 344 of file flatzinc.hh.
◆ threads()
|
inline |
Script mode to run.
Definition at line 345 of file flatzinc.hh.
◆ free()
|
inline |
Script mode to run.
Definition at line 346 of file flatzinc.hh.
◆ c_d()
|
inline |
Script mode to run.
Definition at line 347 of file flatzinc.hh.
◆ a_d()
|
inline |
Script mode to run.
Definition at line 348 of file flatzinc.hh.
◆ node()
|
inline |
Script mode to run.
Definition at line 349 of file flatzinc.hh.
◆ fail()
|
inline |
Script mode to run.
Definition at line 350 of file flatzinc.hh.
◆ time()
|
inline |
Script mode to run.
Definition at line 351 of file flatzinc.hh.
◆ seed()
|
inline |
Script mode to run.
Definition at line 352 of file flatzinc.hh.
◆ step()
|
inline |
Script mode to run.
Definition at line 353 of file flatzinc.hh.
◆ output()
|
inline |
Script mode to run.
Definition at line 354 of file flatzinc.hh.
◆ mode()
|
inline |
Script mode to run.
Definition at line 356 of file flatzinc.hh.
◆ decay()
|
inline |
Script mode to run.
Definition at line 360 of file flatzinc.hh.
◆ restart() [1/2]
|
inline |
Script mode to run.
Definition at line 361 of file flatzinc.hh.
◆ restart() [2/2]
|
inline |
Script mode to run.
Definition at line 364 of file flatzinc.hh.
◆ restart_base() [1/2]
|
inline |
Script mode to run.
Definition at line 367 of file flatzinc.hh.
◆ restart_base() [2/2]
|
inline |
Script mode to run.
Definition at line 368 of file flatzinc.hh.
◆ restart_scale() [1/2]
|
inline |
Script mode to run.
Definition at line 369 of file flatzinc.hh.
◆ restart_scale() [2/2]
|
inline |
Script mode to run.
Definition at line 370 of file flatzinc.hh.
◆ restart_limit()
|
inline |
Script mode to run.
Definition at line 371 of file flatzinc.hh.
◆ nogoods()
|
inline |
Script mode to run.
Definition at line 372 of file flatzinc.hh.
◆ nogoods_limit()
|
inline |
Script mode to run.
Definition at line 373 of file flatzinc.hh.
◆ interrupt()
|
inline |
Script mode to run.
Definition at line 374 of file flatzinc.hh.
◆ profiler_id()
|
inline |
Script mode to run.
Definition at line 378 of file flatzinc.hh.
◆ profiler_port()
|
inline |
Script mode to run.
Definition at line 379 of file flatzinc.hh.
◆ profiler_info()
|
inline |
Script mode to run.
Definition at line 380 of file flatzinc.hh.
◆ allSolutions() [2/2]
|
inline |
Script mode to run.
Definition at line 384 of file flatzinc.hh.
Member Data Documentation
◆ _solutions
|
protected |
How many solutions.
Definition at line 230 of file flatzinc.hh.
◆ _allSolutions
|
protected |
Return all solutions.
Definition at line 231 of file flatzinc.hh.
◆ _threads
|
protected |
How many threads to use.
Definition at line 232 of file flatzinc.hh.
◆ _free
|
protected |
Use free search.
Definition at line 233 of file flatzinc.hh.
◆ _decay
|
protected |
Decay option.
Definition at line 234 of file flatzinc.hh.
◆ _c_d
|
protected |
Copy recomputation distance.
Definition at line 235 of file flatzinc.hh.
◆ _a_d
|
protected |
Adaptive recomputation distance.
Definition at line 236 of file flatzinc.hh.
◆ _node
|
protected |
Cutoff for number of nodes.
Definition at line 237 of file flatzinc.hh.
◆ _fail
|
protected |
Cutoff for number of failures.
Definition at line 238 of file flatzinc.hh.
◆ _time
|
protected |
Cutoff for time.
Definition at line 239 of file flatzinc.hh.
◆ _time_limit
|
protected |
Cutoff for time (for compatibility with flatzinc command line).
Definition at line 240 of file flatzinc.hh.
◆ _seed
|
protected |
Random seed.
Definition at line 241 of file flatzinc.hh.
◆ _restart
|
protected |
Restart method option.
Definition at line 242 of file flatzinc.hh.
◆ _r_base
|
protected |
Restart base.
Definition at line 243 of file flatzinc.hh.
◆ _r_scale
|
protected |
Restart scale factor.
Definition at line 244 of file flatzinc.hh.
◆ _r_limit
|
protected |
Cutoff for number of restarts.
Definition at line 245 of file flatzinc.hh.
◆ _nogoods
|
protected |
Whether to use no-goods.
Definition at line 246 of file flatzinc.hh.
◆ _nogoods_limit
|
protected |
Depth limit for extracting no-goods.
Definition at line 247 of file flatzinc.hh.
◆ _interrupt
|
protected |
Whether to catch SIGINT.
Definition at line 248 of file flatzinc.hh.
◆ _step
|
protected |
Step option.
Definition at line 249 of file flatzinc.hh.
◆ _mode
|
protected |
Script mode to run.
Definition at line 254 of file flatzinc.hh.
◆ _stat
|
protected |
Emit statistics.
Definition at line 255 of file flatzinc.hh.
◆ _output
|
protected |
Output file.
Definition at line 256 of file flatzinc.hh.
◆ _profiler
|
protected |
Use this execution id for the CP-profiler.
Definition at line 259 of file flatzinc.hh.
The documentation for this class was generated from the following file:
- gecode/flatzinc.hh
