public class Yices2RationalFormulaManager extends AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType,ResultFormulaType,Integer> implements RationalFormulaManager
AbstractNumeralFormulaManager.NonLinearArithmetic| Modifier and Type | Field and Description |
|---|---|
protected FormulaCreator<TFormulaInfo,TType,TEnv,TFuncDecl> |
formulaCreator |
| Modifier | Constructor and Description |
|---|---|
protected |
Yices2RationalFormulaManager(Yices2FormulaCreator pCreator,
AbstractNumeralFormulaManager.NonLinearArithmetic pNonLinearArithmetic) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
add(Integer pParam1,
Integer pParam2) |
Integer |
distinctImpl(List<Integer> pNumbers) |
Integer |
divide(Integer pParam1,
Integer pParam2)
If a solver does not support this operation, e.g.
|
Integer |
equal(Integer pParam1,
Integer pParam2) |
protected Integer |
floor(Integer pNumber) |
protected FormulaCreator<TFormulaInfo,TType,TEnv,TFuncDecl> |
getFormulaCreator() |
protected int |
getNumeralType() |
Integer |
greaterOrEquals(Integer pParam1,
Integer pParam2) |
Integer |
greaterThan(Integer pParam1,
Integer pParam2) |
protected boolean |
isNumeral(Integer pVal)
Check whether the argument is a numeric constant (including negated constants).
|
Integer |
lessOrEquals(Integer pParam1,
Integer pParam2) |
Integer |
lessThan(Integer pParam1,
Integer pParam2) |
protected Integer |
makeNumberImpl(BigDecimal pNumber) |
Integer |
makeNumberImpl(BigInteger pI) |
protected Integer |
makeNumberImpl(double pNumber) |
Integer |
makeNumberImpl(long pI) |
Integer |
makeNumberImpl(String pI) |
Integer |
makeVariableImpl(String pI) |
Integer |
multiply(Integer pParam1,
Integer pParam2)
If a solver does not support this operation, e.g.
|
Integer |
negate(Integer pParam1) |
Integer |
subtract(Integer pParam1,
Integer pParam2) |
protected TType |
toSolverType(FormulaType<?> formulaType) |
add, decimalAsInteger, distinct, divide, equal, floor, greaterOrEquals, greaterThan, lessOrEquals, lessThan, makeNumber, makeNumber, makeNumber, makeNumber, makeNumber, makeNumber, makeNumberImpl, makeVariable, modularCongruence, modularCongruence, modularCongruence, modularCongruence, modulo, modulo, multiply, negate, subtract, sum, sumImpl, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormulaTypeadd, distinct, divide, equal, floor, greaterOrEquals, greaterThan, lessOrEquals, lessThan, makeNumber, makeNumber, makeNumber, makeNumber, makeNumber, makeNumber, makeVariable, multiply, negate, subtract, sumprotected final FormulaCreator<TFormulaInfo,TType,TEnv,TFuncDecl> formulaCreator
protected Yices2RationalFormulaManager(Yices2FormulaCreator pCreator, AbstractNumeralFormulaManager.NonLinearArithmetic pNonLinearArithmetic)
protected int getNumeralType()
protected Integer makeNumberImpl(double pNumber)
makeNumberImpl in class AbstractNumeralFormulaManager<Integer,Integer,Long,NumeralFormula,NumeralFormula.RationalFormula,Integer>protected Integer makeNumberImpl(BigDecimal pNumber)
makeNumberImpl in class AbstractNumeralFormulaManager<Integer,Integer,Long,NumeralFormula,NumeralFormula.RationalFormula,Integer>public Integer divide(Integer pParam1, Integer pParam2)
AbstractNumeralFormulaManagerdivide in class AbstractNumeralFormulaManager<Integer,Integer,Long,NumeralFormula,NumeralFormula.RationalFormula,Integer>pParam1 - the dividendpParam2 - the divisorprotected boolean isNumeral(Integer pVal)
AbstractNumeralFormulaManagerisNumeral in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer makeNumberImpl(long pI)
makeNumberImpl in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer makeNumberImpl(BigInteger pI)
makeNumberImpl in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer makeNumberImpl(String pI)
makeNumberImpl in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer makeVariableImpl(String pI)
makeVariableImpl in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer negate(Integer pParam1)
negate in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer add(Integer pParam1, Integer pParam2)
add in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer subtract(Integer pParam1, Integer pParam2)
subtract in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer multiply(Integer pParam1, Integer pParam2)
AbstractNumeralFormulaManagermultiply in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>pParam1 - first factorpParam2 - second factorpublic Integer equal(Integer pParam1, Integer pParam2)
equal in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer distinctImpl(List<Integer> pNumbers)
distinctImpl in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer greaterThan(Integer pParam1, Integer pParam2)
greaterThan in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer greaterOrEquals(Integer pParam1, Integer pParam2)
greaterOrEquals in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer lessThan(Integer pParam1, Integer pParam2)
lessThan in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>public Integer lessOrEquals(Integer pParam1, Integer pParam2)
lessOrEquals in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>protected Integer floor(Integer pNumber)
floor in class AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType extends NumeralFormula,ResultFormulaType extends NumeralFormula,Integer>protected final FormulaCreator<TFormulaInfo,TType,TEnv,TFuncDecl> getFormulaCreator()
protected final TType toSolverType(FormulaType<?> formulaType)