This method computes a substitution from a Term (the current object). The bindings Map varnames_to_Terms maps names of Variables to Terms. Thus, a substitution is as it is in mathematical logic, a sequence of the form \sigma = {t_0/x_0, ..., t_n/x_n}. Once the substitution is computed, the substitut
(Map<String, Term> varnames_to_Terms, Map<term_t, Variable> vars_to_Vars)
| 832 | * A Map holding the Variables that occur thus far in the term; keyed by internal (Prolog) string rep. |
| 833 | */ |
| 834 | protected void getSubst(Map<String, Term> varnames_to_Terms, Map<term_t, Variable> vars_to_Vars) { |
| 835 | // overridden in Compound, Variable |
| 836 | } |
| 837 | |
| 838 | /** |
| 839 | * Just calls computeSubstitution for each Term in the array. |
no outgoing calls
no test coverage detected