public interface PCExpression
| Modifier and Type | Method and Description |
|---|---|
PCExpression |
replaceVariables(SubstitutionSet s)
Replaces all the variables in the predicate expression according to the
specified bindings.
|
PCExpression |
standardizeVariablesApart(Hashtable<Variable,Variable> newVars)
Standardizes the variables in order to be sure that there won't be any
variable clashes.
|
PCExpression replaceVariables(SubstitutionSet s)
This method is recursive over all PCExpression implementations.
s - the SubstitutionSet that contains the bindings of the
variables so far.PCExpression object representing the bound predicate
expression.SubstitutionSetPCExpression standardizeVariablesApart(Hashtable<Variable,Variable> newVars)
This method is recursive over all PCExpression implementations.
newVars - is a parameter to save over the recursion all the variable
replacements done so far.PCExpression object representing the standardized
predicate expression.