Package gprover
Class ElTerm
- java.lang.Object
-
- gprover.ElTerm
-
public class ElTerm extends java.lang.ObjectThe ElTerm class represents an element term in the geometric theorem proving framework. It encapsulates the term type, its associated variable, geometric expressions (XTerm instances), conditions, and linked terms.
-
-
Constructor Summary
Constructors Constructor Description ElTerm()Constructs an ElTerm object with default values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.VectorgetAllCond()Gets all Cond objects associated with the element term.java.util.VectorgetAllxterm()Gets all XTerm objects associated with the element term.intgetEType()Gets the type of the element term.voidsetText(java.lang.String s)Sets the text description of the element term.java.lang.StringtoString()Returns the string representation of the element term.
-
-
-
Method Detail
-
setText
public void setText(java.lang.String s)
Sets the text description of the element term.- Parameters:
s- the text description to set
-
toString
public java.lang.String toString()
Returns the string representation of the element term.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string representation of the element term
-
getAllxterm
public java.util.Vector getAllxterm()
Gets all XTerm objects associated with the element term.- Returns:
- a vector of all XTerm objects
-
getEType
public int getEType()
Gets the type of the element term.- Returns:
- the type of the element term
-
getAllCond
public java.util.Vector getAllCond()
Gets all Cond objects associated with the element term.- Returns:
- a vector of all Cond objects
-
-