Class QueryCover
java.lang.Object
fr.inria.rules.integraal.backward_chaining.cover.QueryCover
- All Implemented Interfaces:
CoverFunction
Computes the cover of a set of queries using homomorphism to detect if a query is more general than another
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.QueryCover(RuleCompilation compilation) Constructor with compilation -
Method Summary
-
Constructor Details
-
QueryCover
public QueryCover()Default constructor. Uses no compilation -
QueryCover
Constructor with compilation- Parameters:
compilation- the compilation to use
-
-
Method Details
-
cover
Description copied from interface:CoverFunctionComputes a cover of the given query set.- Specified by:
coverin interfaceCoverFunction- Parameters:
queries- the set of queries to compute the cover of- Returns:
- the cover of the given queries
-