clingo
|
Parameter-Object for grouping solve-related options. More...
#include <solver_strategies.h>
Classes | |
struct | FwdCheck |
Public Member Functions | |
SolveParams () | |
Creates a default-initialized object. More... | |
uint32 | prepare (bool withLookback) |
bool | randomize (Solver &s) const |
Public Attributes | |
RestartParams | restart |
ReduceParams | reduce |
uint32 | randRuns:16 |
uint32 | randConf:16 |
float | randProb |
struct Clasp::SolveParams::FwdCheck | fwdCheck |
Parameter-Object for grouping solve-related options.
Clasp::SolveParams::SolveParams | ( | ) |
Creates a default-initialized object.
The following parameters are used: restart : quadratic: 100*1.5^k / no restarts after first solution deletion : initial size: vars()/3, grow factor: 1.1, max factor: 3.0, do not reduce on restart randomization: disabled randomProp : 0.0 (disabled)
uint32 Clasp::SolveParams::prepare | ( | bool | withLookback | ) |
bool Clasp::SolveParams::randomize | ( | Solver & | s | ) | const |
struct Clasp::SolveParams::FwdCheck Clasp::SolveParams::fwdCheck |
uint32 Clasp::SolveParams::randConf |
Number of conflicts comprising one randomized-run.
float Clasp::SolveParams::randProb |
Use random heuristic with given probability ([0,1])
uint32 Clasp::SolveParams::randRuns |
Number of initial randomized-runs.
ReduceParams Clasp::SolveParams::reduce |
RestartParams Clasp::SolveParams::restart |