clingo
|
#include <solver_strategies.h>
Public Member Functions | |
BasicSatConfig () | |
void | prepare (SharedContext &) |
Prepares this configuration for the usage in the given context. More... | |
const CtxOpts & | context () const |
Returns the options for the shared context. More... | |
uint32 | numSolver () const |
Returns the number of solver options in this config. More... | |
uint32 | numSearch () const |
Returns the number of search options in this config. More... | |
const SolverOpts & | solver (uint32 i) const |
Returns the solver options for the i'th solver to be attached to the SharedContext. More... | |
const SearchOpts & | search (uint32 i) const |
Returns the search options for the i'th solver of the SharedContext. More... | |
DecisionHeuristic * | heuristic (uint32 i) const |
Returns the heuristic to be used in the i'th solver. More... | |
SolverOpts & | addSolver (uint32 i) |
Returns the (modifiable) solver options for the i'th solver. More... | |
SearchOpts & | addSearch (uint32 i) |
Returns the (modifiable) search options for the i'th solver. More... | |
virtual void | reset () |
virtual void | resize (uint32 numSolver, uint32 numSearch) |
Public Member Functions inherited from Clasp::UserConfiguration | |
virtual bool | addPost (Solver &s) const |
Adds post propagators to the given solver. More... | |
Public Member Functions inherited from Clasp::Configuration | |
virtual | ~Configuration () |
Public Member Functions inherited from Clasp::ContextParams | |
ContextParams () | |
Additional Inherited Members | |
Public Types inherited from Clasp::Configuration | |
typedef SolverParams | SolverOpts |
typedef SolveParams | SearchOpts |
typedef ContextParams | CtxOpts |
Public Types inherited from Clasp::ContextParams | |
enum | ShortMode { short_implicit = 0, short_explicit = 1 } |
How to handle short learnt clauses. More... | |
enum | ShareMode { share_no = 0, share_problem = 1, share_learnt = 2, share_all = 3, share_auto = 4 } |
How to handle physical sharing of (explicit) constraints. More... | |
Public Attributes inherited from Clasp::ContextParams | |
SatPreParams | satPre |
uint8 | shareMode: 3 |
uint8 | stats: 2 |
uint8 | shortMode: 1 |
uint8 | seed: 1 |
uint8 | reserved: 1 |
uint8 | cliConfig |
uint8 | cliId |
uint8 | cliMode |
Clasp::BasicSatConfig::BasicSatConfig | ( | ) |
|
virtual |
Returns the (modifiable) search options for the i'th solver.
Implements Clasp::UserConfiguration.
|
virtual |
Returns the (modifiable) solver options for the i'th solver.
Implements Clasp::UserConfiguration.
|
inlinevirtual |
Returns the options for the shared context.
Implements Clasp::Configuration.
|
virtual |
Returns the heuristic to be used in the i'th solver.
The function is called in Solver::startInit().
Implements Clasp::Configuration.
|
inlinevirtual |
Returns the number of search options in this config.
Implements Clasp::Configuration.
|
inlinevirtual |
Returns the number of solver options in this config.
Implements Clasp::Configuration.
|
virtual |
Prepares this configuration for the usage in the given context.
Implements Clasp::Configuration.
|
virtual |
|
virtual |
|
inlinevirtual |
Returns the search options for the i'th solver of the SharedContext.
Implements Clasp::Configuration.
|
inlinevirtual |
Returns the solver options for the i'th solver to be attached to the SharedContext.
Implements Clasp::Configuration.