dlvhex  2.5.0
GenuineWellfoundedModelGeneratorFactory Class Reference

Factory for the GenuineWellfoundedModelGenerator. More...

#include <include/dlvhex2/GenuineWellfoundedModelGenerator.h>

Inheritance diagram for GenuineWellfoundedModelGeneratorFactory:
Collaboration diagram for GenuineWellfoundedModelGeneratorFactory:

Public Types

typedef
ComponentGraph::ComponentInfo 
ComponentInfo

Public Member Functions

 GenuineWellfoundedModelGeneratorFactory (ProgramCtx &ctx, const ComponentInfo &ci, ASPSolverManager::SoftwareConfigurationPtr externalEvalConfig)
 Constructor.
virtual ~GenuineWellfoundedModelGeneratorFactory ()
 Destructor.
virtual ModelGeneratorPtr createModelGenerator (InterpretationConstPtr input)
 Instantiates a model generator for the current component.
virtual std::ostream & print (std::ostream &o) const
 Prints information about the model generator for debugging purposes.

Protected Attributes

ASPSolverManager::SoftwareConfigurationPtr externalEvalConfig
 Defines the solver to be used for external evaluation.
ProgramCtxctx
 ProgramCtx.
ComponentInfo ci
 ComponentInfo of the component to be solved by the model generators instantiated by this factory.
std::vector< IDouterEatoms
 Outer external atoms of the component.
std::vector< IDinnerEatoms
 Inner external atoms of the component.
std::vector< IDidb
 Original IDB containing eatoms where all inputs are known.
std::vector< IDxidb
 Rewritten IDB (containing replacements for eatoms).
std::vector< IDdeidbInnerEatoms
 Inner external atoms in deidb.
std::vector< IDdeidb
 IDB for domain exploration (cf.

Friends

class GenuineWellfoundedModelGenerator

Detailed Description

Factory for the GenuineWellfoundedModelGenerator.

Definition at line 85 of file GenuineWellfoundedModelGenerator.h.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Instantiates a model generator for the current component.

Parameters:
inputInput interpretation to this model generator.
Returns:
Model generator.

Implements ModelGeneratorFactoryBase< Interpretation >.

Definition at line 142 of file GenuineWellfoundedModelGenerator.h.

References GenuineWellfoundedModelGenerator.

std::ostream & GenuineWellfoundedModelGeneratorFactory::print ( std::ostream &  o) const [virtual]

Prints information about the model generator for debugging purposes.

Parameters:
oStream to print to.

Reimplemented from ModelGeneratorFactoryBase< Interpretation >.

Definition at line 97 of file GenuineWellfoundedModelGenerator.cpp.

References ctx, idb, innerEatoms, outerEatoms, Printer::printmany(), ProgramCtx::registry(), and xidb.


Friends And Related Function Documentation

friend class GenuineWellfoundedModelGenerator [friend]

Definition at line 91 of file GenuineWellfoundedModelGenerator.h.

Referenced by createModelGenerator().


Field Documentation

ComponentInfo of the component to be solved by the model generators instantiated by this factory.

Definition at line 101 of file GenuineWellfoundedModelGenerator.h.

Referenced by GenuineWellfoundedModelGenerator::generateNextModel().

IDB for domain exploration (cf.

liberal safety).

Equivalent to xidb, except that it does not contain domain predicates).

Definition at line 121 of file GenuineWellfoundedModelGenerator.h.

Referenced by GenuineWellfoundedModelGenerator::generateNextModel(), and GenuineWellfoundedModelGeneratorFactory().

Defines the solver to be used for external evaluation.

Definition at line 97 of file GenuineWellfoundedModelGenerator.h.

Original IDB containing eatoms where all inputs are known.

Auxiliary input rules of these eatoms must be in predecessor unit!

Definition at line 110 of file GenuineWellfoundedModelGenerator.h.

Referenced by GenuineWellfoundedModelGeneratorFactory(), and print().

Inner external atoms of the component.

Definition at line 106 of file GenuineWellfoundedModelGenerator.h.

Referenced by GenuineWellfoundedModelGenerator::generateNextModel(), and print().

Rewritten IDB (containing replacements for eatoms).

x stands for transformed.

Definition at line 114 of file GenuineWellfoundedModelGenerator.h.

Referenced by GenuineWellfoundedModelGenerator::generateNextModel(), GenuineWellfoundedModelGeneratorFactory(), and print().


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