Package edu.tufts.hrilab.fol.util
Class PragUtil
java.lang.Object
edu.tufts.hrilab.fol.util.PragUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
compareTermStruct
(Term t1, Term t2) static Term
fillPredicate
(Map<Variable, Symbol> bindings, Term term) static Symbol
fillSymbol
(Map<Variable, Symbol> bindings, Symbol s) static Term
static Symbol
getBoundSymbol
(Map<Variable, Symbol> bindings, Symbol sym) static Symbol
getBoundSymbolVars
(Map<Variable, Symbol> bindings, Symbol sym) static Term
getBoundTerm
(Map<Variable, Symbol> bindings, Term term) static Term
getBoundTermVars
(Map<Variable, Symbol> bindings, Term term) getSymbolBindings
(Symbol s1, Symbol s2) getTermBindings
(Term t1, Term t2) getTermBindingsVars
(Term t1, Term t2) static boolean
parseModifiers
(String line) splitToplevel
(String s, char delim) static boolean
termEquals
(Term t1, Term t2)
-
Constructor Details
-
PragUtil
public PragUtil()
-
-
Method Details
-
getBoundSymbol
-
getBoundSymbolVars
-
getBoundTerm
-
getBoundTermVars
-
fillPredicate
-
fillSymbol
-
termEquals
-
compareTermStruct
-
getSymbolBindings
-
getBindingsSymHelper
-
getTermBindings
-
getTermBindingsVars
-
getBindingsTermHelper
-
isLong
-
formPrologQueryTerm
-
splitToplevel
-
parseModifiers
-