Public Member Functions | Private Types | Private Attributes
Clasp::BasicSatConfig Class Reference

#include <solver_strategies.h>

Inheritance diagram for Clasp::BasicSatConfig:
Inheritance graph
[legend]

List of all members.

Public Member Functions

SearchOptsaddSearch (uint32 i)
 Returns the (modifiable) search options for the i'th solver.
SolverOptsaddSolver (uint32 i)
 Returns the (modifiable) solver options for the i'th solver.
 BasicSatConfig ()
const CtxOptscontext () const
 Returns the options for the shared context.
DecisionHeuristicheuristic (uint32 i) const
 Returns the heuristic to be used in the i'th solver.
uint32 numSearch () const
 Returns the number of search options in this config.
uint32 numSolver () const
 Returns the number of solver options in this config.
void prepare (SharedContext &)
 Prepares this configuration for the usage in the given context.
virtual void reset ()
virtual void resize (uint32 numSolver, uint32 numSearch)
const SearchOptssearch (uint32 i) const
 Returns the search options for the i'th solver of the SharedContext.
const SolverOptssolver (uint32 i) const
 Returns the solver options for the i'th solver to be attached to the SharedContext.

Private Types

typedef PodVector< SearchOpts >
::type 
SearchVec
typedef PodVector< SolverOpts >
::type 
SolverVec

Private Attributes

SearchVec search_
SolverVec solver_

Detailed Description

Definition at line 436 of file solver_strategies.h.


Member Typedef Documentation

Definition at line 453 of file solver_strategies.h.

Definition at line 452 of file solver_strategies.h.


Constructor & Destructor Documentation

Definition at line 245 of file solver_strategies.cpp.


Member Function Documentation

SolveParams & Clasp::BasicSatConfig::addSearch ( uint32  i) [virtual]

Returns the (modifiable) search options for the i'th solver.

Implements Clasp::UserConfiguration.

Definition at line 265 of file solver_strategies.cpp.

Returns the (modifiable) solver options for the i'th solver.

Implements Clasp::UserConfiguration.

Definition at line 261 of file solver_strategies.cpp.

const CtxOpts& Clasp::BasicSatConfig::context ( ) const [inline, virtual]

Returns the options for the shared context.

Implements Clasp::Configuration.

Definition at line 440 of file solver_strategies.h.

DecisionHeuristic * Clasp::BasicSatConfig::heuristic ( uint32  i) const [virtual]

Returns the heuristic to be used in the i'th solver.

The function is called in Solver::startInit().

Note:
The returned object is owned by the caller.

Implements Clasp::Configuration.

Definition at line 258 of file solver_strategies.cpp.

uint32 Clasp::BasicSatConfig::numSearch ( ) const [inline, virtual]

Returns the number of search options in this config.

Implements Clasp::Configuration.

Definition at line 442 of file solver_strategies.h.

uint32 Clasp::BasicSatConfig::numSolver ( ) const [inline, virtual]

Returns the number of solver options in this config.

Implements Clasp::Configuration.

Definition at line 441 of file solver_strategies.h.

Prepares this configuration for the usage in the given context.

Implements Clasp::Configuration.

Reimplemented in Clasp::ClaspConfig.

Definition at line 249 of file solver_strategies.cpp.

void Clasp::BasicSatConfig::reset ( ) [virtual]

Reimplemented in Clasp::ClaspConfig.

Definition at line 270 of file solver_strategies.cpp.

void Clasp::BasicSatConfig::resize ( uint32  numSolver,
uint32  numSearch 
) [virtual]

Definition at line 276 of file solver_strategies.cpp.

const SearchOpts& Clasp::BasicSatConfig::search ( uint32  i) const [inline, virtual]

Returns the search options for the i'th solver of the SharedContext.

Implements Clasp::Configuration.

Definition at line 444 of file solver_strategies.h.

const SolverOpts& Clasp::BasicSatConfig::solver ( uint32  i) const [inline, virtual]

Returns the solver options for the i'th solver to be attached to the SharedContext.

Implements Clasp::Configuration.

Definition at line 443 of file solver_strategies.h.


Member Data Documentation

Definition at line 455 of file solver_strategies.h.

Definition at line 454 of file solver_strategies.h.


The documentation for this class was generated from the following files:


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:40