User Tools

Site Tools


Writing /home/academic/ogsavkovic/public_html/wiki/data/cache/f/f602d4ff6b15482ef0a4c6137f8f8a94.metadata failed
magik-demo:developer:class:core:term

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Term ====== ''**public class Term**'' \\ ''**implements Serializable**''\\ Class for the definition a Term. Term managing all the functions for Terms.\\ Term essentially is a String that can be: * //Variable// -> It must start with an **upper case** character (e.g. X, Y, Z) * //Constant// -> It must be define inside **single quotes** (e.g. 'Florence', 'florence') ===== Class Attributes ===== <code java> private java.lang.String term </code> ===== Class Constructor ===== ==== Term ==== <code java> public Term (java.lang.String t) </code> Constructor.\\ //Called by:// * it.unibz.inf.magik.core.Atom * it.unibz.inf.magik.core.TCSuggestions * it.unibz.inf.magik.core.AuxiliaryFunctions * it.unibz.inf.magik.additional.Comparison * it.unibz.inf.magik.test.TestAtomClass * it.unibz.inf.magik.test.TestTCQCReasonerBlackWhiteExample * it.unibz.inf.magik.test.TestTCQCReasonerPlainCompanyEx * it.unibz.inf.magik.test.TestTermClass * it.unibz.inf.magik.test.TestTCQCReasonerUnderFC **Parameters:** * t - term ===== Class Methods ===== ==== applySubstitution ==== <code java> public static java.util.ArrayList<Term> applySubstiution (java.util.ArrayList<Term> terms, java.util.HashMap<Term,Term> substitution) </code> Apply to the terms substitution.\\ **Parameters:** * terms - original terms * substitution - terms that has to be substitute **Returns:** * java.util.ArrayList<Term> of the substituted terms ---- ==== applySubstitution ==== <code java> public static Term applySubstiution (Term term, java.util.HashMap<Term,Term> substitution) </code> Apply to a term substitution.\\ **Parameters:** * term - original term * substitution - terms that has to be substitute **Returns:** * term with substitutions ----

magik-demo/developer/class/core/term.1374138038.txt.gz · Last modified: 2017/07/06 15:24 (external edit)