Class QueryUnifierAlgorithm
java.lang.Object
fr.inria.rules.integraal.unifier.QueryUnifierAlgorithm
Computes the most general single piece unifiers
This uses Mélanie König's thesis algorithms
These algorithms also take into account a compilation of the rules
These algorithms also take into account a compilation of the rules
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.QueryUnifierAlgorithm(RuleCompilation compilation) Constructor with compilation -
Method Summary
Modifier and TypeMethodDescriptionAlgorithm 2 in Mélanie König's thesis Computes the single piece most general unifiers of the given query with the given rule The rule and the query must have a disjoint set of variables
-
Constructor Details
-
QueryUnifierAlgorithm
public QueryUnifierAlgorithm()Default constructor. Uses no compilation -
QueryUnifierAlgorithm
Constructor with compilation- Parameters:
compilation- the compilation to use
-
-
Method Details
-
getMostGeneralSinglePieceUnifiers
Algorithm 2 in Mélanie König's thesis Computes the single piece most general unifiers of the given query with the given rule The rule and the query must have a disjoint set of variables- Parameters:
q- the queryr- the rule- Returns:
- all the most general single piece unifiers of the query with the rule
-