dlvhex  2.5.0
TestSetMinusAtom Class Reference
Inheritance diagram for TestSetMinusAtom:
Collaboration diagram for TestSetMinusAtom:

Data Structures

class  EAHeuristics
class  EAHeuristicsFactory

Public Member Functions

 TestSetMinusAtom ()
virtual void retrieve (const ComfortQuery &query, ComfortAnswer &answer)
 Retrieve answer to a query (external computation happens here).
bool providesCustomExternalAtomEvaluationHeuristicsFactory () const
 Returns if this external atom provides a custom model generator factory.
ExternalAtomEvaluationHeuristicsFactoryPtr getCustomExternalAtomEvaluationHeuristicsFactory () const
 Must create a model generator factory for the component described by ci.

Detailed Description

Definition at line 845 of file TestPlugin.cpp.


Constructor & Destructor Documentation


Member Function Documentation

Must create a model generator factory for the component described by ci.

Needs to be implemented only if PluginAtom::providesCustomExternalAtomEvaluationHeuristicsFactory return true;

Returns:
True if this plugin provides a custom heuristics for external atom evaluations, false otherwise.

Reimplemented from PluginAtom.

Definition at line 927 of file TestPlugin.cpp.

Returns if this external atom provides a custom model generator factory.

Returns:
True if this plugin provides a custom heuristics for external atom evaluations, false otherwise.

Reimplemented from PluginAtom.

Definition at line 925 of file TestPlugin.cpp.

virtual void TestSetMinusAtom::retrieve ( const ComfortQuery q,
ComfortAnswer a 
) [inline, virtual]

Retrieve answer to a query (external computation happens here).

This function implements the external atom computation. See also documentation of Query and Answer classes.

Answer tuples must conform to the content of the pattern tuple in Query:

Implements ComfortPluginAtom.

Definition at line 863 of file TestPlugin.cpp.

References ComfortPluginAtom::ComfortQuery::input, ComfortPluginAtom::ComfortQuery::interpretation, ComfortInterpretation::matchPredicate(), printrange(), and ComfortAtom::tuple.


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