public class RowVars
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
Constructor and Description |
---|
RowVars() |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<Formula> |
expandRowVars(KB kb,
Formula f)
Expand row variables, keeping the information about the original
source formula.
|
static java.util.HashMap<java.lang.String,java.lang.Integer> |
getRowVarMaxAritiesWithOtherArgs(java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> ar,
KB kb,
Formula f)
given in @param ar which is a list for each variable of all the
predicates in which it appears as an argument, find the maximum
arity allowed by predicate arities, as given by
|
static void |
main(java.lang.String[] args) |
public static java.util.HashMap<java.lang.String,java.lang.Integer> getRowVarMaxAritiesWithOtherArgs(java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> ar, KB kb, Formula f)
public static java.util.ArrayList<Formula> expandRowVars(KB kb, Formula f)
public static void main(java.lang.String[] args)