Package com.articulate.sigma.parsing
Class RowVar
java.lang.Object
com.articulate.sigma.parsing.RowVar
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpandRowVar(Set<FormulaAST> rowvars) expandVariableArityRowVar(Set<FormulaAST> flist, String var) getVarSubStrings(String var)
-
Field Details
-
kb
-
debug
public boolean debug
-
-
Constructor Details
-
RowVar
-
-
Method Details
-
getVarSubStrings
-
expandVariableArityRowVar
-
findArities
- Returns:
- arities implied on every row var by their relations and arguments. if the pred var is only an argument to variable arity relations, return -1
-
expandRowVar
- Returns:
- a HashSet of FormulaAST. If just one row variable is an argument to a fixed arity relation, then there will be just one element in the returned set. But if there one or more row variables are arguments to VariableArityRelations then there will be multiple returned formulas
-
expandRowVar
-