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

Public Member Functions

 TestAAtom ()
virtual void retrieve (const ComfortQuery &query, ComfortAnswer &answer)
 Retrieve answer to a query (external computation happens here).

Detailed Description

Definition at line 72 of file TestPlugin.cpp.


Constructor & Destructor Documentation

TestAAtom::TestAAtom ( ) [inline]

Definition at line 76 of file TestPlugin.cpp.

References PluginAtom::addInputPredicate(), and PluginAtom::setOutputArity().


Member Function Documentation

virtual void TestAAtom::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 83 of file TestPlugin.cpp.

References ComfortTerm::createConstant(), and ComfortPluginAtom::ComfortQuery::interpretation.


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