Class RecursiveQsqEngine
java.lang.Object
edu.harvard.seas.pl.abcdatalog.engine.topdown.AbstractQsqEngine
edu.harvard.seas.pl.abcdatalog.engine.topdown.RecursiveQsqEngine
- All Implemented Interfaces:
DatalogEngine
A Datalog evaluation engine that uses a recursive version of the query-subquery top-down
technique.
-
Field Summary
Fields inherited from class edu.harvard.seas.pl.abcdatalog.engine.topdown.AbstractQsqEngine
edbRelations, idbRules
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns all facts that 1) can be derived from the rules and initial facts that were used to initialize this engine and 2) unify with the query.Methods inherited from class edu.harvard.seas.pl.abcdatalog.engine.topdown.AbstractQsqEngine
applyBoundArgs, checkIfEdbQuery, init
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.harvard.seas.pl.abcdatalog.engine.DatalogEngine
query
-
Constructor Details
-
RecursiveQsqEngine
public RecursiveQsqEngine()
-
-
Method Details
-
query
Description copied from interface:DatalogEngine
Returns all facts that 1) can be derived from the rules and initial facts that were used to initialize this engine and 2) unify with the query.- Specified by:
query
in interfaceDatalogEngine
- Specified by:
query
in classAbstractQsqEngine
- Parameters:
q
- the query- Returns:
- facts
-