dlvhex  2.5.0
PlainModelGenerator Class Reference

A model generator for components without inner (i.e. More...

#include <include/dlvhex2/PlainModelGenerator.h>

Inheritance diagram for PlainModelGenerator:
Collaboration diagram for PlainModelGenerator:

Public Types

typedef PlainModelGeneratorFactory Factory

Public Member Functions

 PlainModelGenerator (Factory &factory, InterpretationConstPtr input)
 Constructor.
virtual ~PlainModelGenerator ()
 Destuctor.
virtual InterpretationPtr generateNextModel ()
 Generate and return next model, return NULL after last model.

Protected Attributes

Factoryfactory
 Reference to the factory which created this model generator.
InterpretationConstPtr postprocessedInput
 EDB + original (input) interpretation plus auxiliary atoms for evaluated external atoms.
ASPSolverManager::ResultsPtr currentResults
 Result handle for asp solver evaluation, using externallyAugmentedInput.

Detailed Description

A model generator for components without inner (i.e.

non-cyclic) external atoms (outer external atoms are allowed).

Definition at line 58 of file PlainModelGenerator.h.


Member Typedef Documentation


Constructor & Destructor Documentation

Constructor.

Parameters:
factoryReference to the factory which created this model generator.
inputInput interpretation to this model generator.

Definition at line 127 of file PlainModelGenerator.cpp.

virtual PlainModelGenerator::~PlainModelGenerator ( ) [inline, virtual]

Destuctor.

Definition at line 88 of file PlainModelGenerator.h.


Member Function Documentation


Field Documentation

Result handle for asp solver evaluation, using externallyAugmentedInput.

Definition at line 74 of file PlainModelGenerator.h.

Referenced by generateNextModel().

Reference to the factory which created this model generator.

Definition at line 69 of file PlainModelGenerator.h.

Referenced by generateNextModel().

EDB + original (input) interpretation plus auxiliary atoms for evaluated external atoms.

Definition at line 72 of file PlainModelGenerator.h.

Referenced by generateNextModel().


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