Class Logic
- java.lang.Object
-
- org.sosy_lab.java_smt.solvers.opensmt.api.Logic
-
- Direct Known Subclasses:
ArithLogic
public class Logic extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Method Summary
-
-
-
Constructor Detail
-
Logic
protected Logic(long cPtr, boolean cMemoryOwn)
-
Logic
public Logic(Logic arg0)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(Logic obj)
-
swigRelease
protected static long swigRelease(Logic obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
delete
public void delete()
-
getSortSymbol
public SortSymbol getSortSymbol(SSymRef ss)
-
printSort
public java.lang.String printSort(SRef s)
-
getSortSize
public long getSortSize(SRef s)
-
declareUninterpretedSort
public SRef declareUninterpretedSort(java.lang.String arg0)
-
isArraySort
public boolean isArraySort(SRef sref)
-
isArrayStore
public boolean isArrayStore(PTRef arg0)
-
isArraySelect
public boolean isArraySelect(PTRef arg0)
-
getSymName
public java.lang.String getSymName(SymRef s)
-
mkBoolVar
public PTRef mkBoolVar(java.lang.String name)
-
dumpWithLets
public java.lang.String dumpWithLets(PTRef formula)
-
parseFormula
public PTRef parseFormula(java.lang.String input)
-
getSort_bool
public SRef getSort_bool()
-
getTerm_true
public PTRef getTerm_true()
-
getTerm_false
public PTRef getTerm_false()
-
isEquality
public boolean isEquality(PTRef tr)
-
isDisequality
public boolean isDisequality(PTRef tr)
-
isIte
public boolean isIte(PTRef tr)
-
isConstant
public boolean isConstant(PTRef tr)
-
isVar
public boolean isVar(PTRef tr)
-
isUF
public boolean isUF(PTRef arg0)
-
isAnd
public boolean isAnd(PTRef tr)
-
isOr
public boolean isOr(PTRef tr)
-
isNot
public boolean isNot(PTRef tr)
-
isXor
public boolean isXor(PTRef tr)
-
isImplies
public boolean isImplies(PTRef tr)
-
isTrue
public boolean isTrue(PTRef tr)
-
isFalse
public boolean isFalse(PTRef tr)
-
isIff
public boolean isIff(PTRef tr)
-
protectName
public java.lang.String protectName(SymRef sr)
-
pp
public java.lang.String pp(PTRef tr)
-
mkUninterpFun
public PTRef mkUninterpFun(SymRef f, VectorPTRef args)
-
mkAnd
public PTRef mkAnd(VectorPTRef args)
-
mkOr
public PTRef mkOr(VectorPTRef args)
-
mkImpl
public PTRef mkImpl(VectorPTRef args)
-
mkEq
public PTRef mkEq(VectorPTRef args)
-
mkDistinct
public PTRef mkDistinct(VectorPTRef args)
-
declareFun
public SymRef declareFun(java.lang.String fname, SRef rsort, VectorSRef args)
-
instantiateFunctionTemplate
public PTRef instantiateFunctionTemplate(TemplateFunction tmplt, VectorPTRef args)
-
isSortBool
public boolean isSortBool(SRef sort)
-
insertTerm
public PTRef insertTerm(SymRef sym, VectorPTRef args)
-
-