static java.util.List<java.util.Set<com.articulate.sigma.Formula.VariableMapping>> |
Formula.mapFormulaVariables(Formula f1,
Formula f2,
KB kb,
java.util.HashMap<FormulaUtil.FormulaMatchMemoMapKey,java.util.List<java.util.Set<com.articulate.sigma.Formula.VariableMapping>>> memoMap)
Compares recursively to formulas and returns possible variable maps between the variables of the two formulas
Returns:
null - if the formulas cannot be equals (due to having different predicates for example)
empty list- formulas are equal, but there are no variables to map
list 0f variable mapping sets the list of possible variable mapping sets which will make formulas equal
|