dlvhex  2.5.0
ASPSolver::DLVSoftware::Delegate Class Reference

The delegate for DLVSoftware. More...

#include <include/dlvhex2/ASPSolver.h>

Inheritance diagram for ASPSolver::DLVSoftware::Delegate:
Collaboration diagram for ASPSolver::DLVSoftware::Delegate:

Public Types

typedef DLVSoftware::Options Options

Public Member Functions

 Delegate (const Options &options)
 Constructor.
virtual ~Delegate ()
 Destructor.
virtual void useASTInput (const OrdinaryASPProgram &program)
 Uses an already parsed program as input.
virtual void useInputProviderInput (InputProvider &inp, RegistryPtr reg)
 Uses an InputProvideras input.
virtual
ASPSolverManager::ResultsPtr 
getResults ()
 Returns the results of the reasoner (set of answer sets).

Protected Types

typedef boost::shared_ptr
< ConcurrentQueueResultsImpl > 
ConcurrentQueueResultsImplPtr

Protected Attributes

ConcurrentQueueResultsImplPtr results

Detailed Description

The delegate for DLVSoftware.

Definition at line 75 of file ASPSolver.h.


Member Typedef Documentation

typedef boost::shared_ptr<ConcurrentQueueResultsImpl> ASPSolver::DLVSoftware::Delegate::ConcurrentQueueResultsImplPtr [protected]

Definition at line 91 of file ASPSolver.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
optionsSee DLVSoftware::Options.

Destructor.


Member Function Documentation

Returns the results of the reasoner (set of answer sets).

Returns:
Results.

Implements ASPSolverManager::DelegateInterface.

virtual void ASPSolver::DLVSoftware::Delegate::useASTInput ( const OrdinaryASPProgram program) [virtual]

Uses an already parsed program as input.

Parameters:
programParsed program.

Implements ASPSolverManager::DelegateInterface.

Uses an InputProvideras input.

Parameters:
inpInputProvider.
regRegistry for adding parsed symbols to.

Implements ASPSolverManager::DelegateInterface.


Field Documentation


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