Package io.github.cvc5
Class Op
- java.lang.Object
 - 
- io.github.cvc5.Op
 
 
- 
public class Op extends java.lang.ObjectA cvc5 operator. An operator is a term that represents certain operators, instantiated with its required parameters, e.g., a Term of kindKind.BITVECTOR_EXTRACT. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeletePointer(long pointer)booleanequals(java.lang.Object t)Syntactic equality operator.Termget(int i)Get the index at positioni.KindgetKind()intgetNumIndices()longgetPointer()SolvergetSolver()booleanisIndexed()booleanisNull()java.lang.StringtoString()protected java.lang.StringtoString(long pointer) 
 - 
 
- 
- 
Field Detail
- 
solver
protected final Solver solver
 
- 
pointer
protected long pointer
 
 - 
 
- 
Method Detail
- 
deletePointer
protected void deletePointer(long pointer)
 
- 
getPointer
public long getPointer()
 
- 
equals
public boolean equals(java.lang.Object t)
Syntactic equality operator.- Overrides:
 equalsin classjava.lang.Object- Parameters:
 t- The operator to compare to for equality.- Returns:
 - True if the operators are syntactically identical.
 - Note:
 - Both operators must belong to the same solver object.
 
 
- 
getKind
public Kind getKind()
- Returns:
 - The kind of this operator.
 
 
- 
isNull
public boolean isNull()
- Returns:
 - True if this operator is a null term.
 
 
- 
isIndexed
public boolean isIndexed()
- Returns:
 - True iff this operator is indexed.
 
 
- 
getNumIndices
public int getNumIndices()
- Returns:
 - The number of indices of this op.
 
 
- 
get
public Term get(int i) throws CVC5ApiException
Get the index at positioni.- Parameters:
 i- The position of the index to return.- Returns:
 - The index at position 
i. - Throws:
 CVC5ApiException
 
- 
toString
protected java.lang.String toString(long pointer)
- Returns:
 - A string representation of this operator.
 
 
- 
getSolver
public Solver getSolver()
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -