public class Yices2IntegerFormulaManager extends AbstractNumeralFormulaManager<Integer,Integer,Long,ParamFormulaType,ResultFormulaType,Integer> implements IntegerFormulaManager
AbstractNumeralFormulaManager.NonLinearArithmetic| Modifier and Type | Field and Description |
|---|---|
protected FormulaCreator<TFormulaInfo,TType,TEnv,TFuncDecl> |
formulaCreator |
| 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) |
protected Integer |
modularCongruence(Integer pNumber1,
Integer pNumber2,
BigInteger pModulo) |
protected Integer |
modularCongruence(Integer pNumber1,
Integer pNumber2,
long pModulo) |
protected Integer |
modularCongruence0(Integer pNumber1,
Integer pNumber2,
String pModulo) |
Integer |
modulo(Integer pParam1,
Integer pParam2)
If a solver does not support this operation, e.g.
|
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, modulo, multiply, negate, subtract, sum, sumImpl, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormulaType, modularCongruence, modularCongruence, moduloadd, 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 int getNumeralType()
protected Integer makeNumberImpl(double pNumber)
protected Integer makeNumberImpl(BigDecimal pNumber)
public Integer divide(Integer pParam1, Integer pParam2)
AbstractNumeralFormulaManagerdivide in class AbstractNumeralFormulaManager<Integer,Integer,Long,NumeralFormula.IntegerFormula,NumeralFormula.IntegerFormula,Integer>pParam1 - the dividendpParam2 - the divisorpublic Integer modulo(Integer pParam1, Integer pParam2)
AbstractNumeralFormulaManagermodulo in class AbstractNumeralFormulaManager<Integer,Integer,Long,NumeralFormula.IntegerFormula,NumeralFormula.IntegerFormula,Integer>pParam1 - the dividendpParam2 - the divisorprotected Integer modularCongruence(Integer pNumber1, Integer pNumber2, BigInteger pModulo)
modularCongruence in class AbstractNumeralFormulaManager<Integer,Integer,Long,NumeralFormula.IntegerFormula,NumeralFormula.IntegerFormula,Integer>pNumber1 - first operandpNumber2 - second operandpModulo - the modulusa = b (mod m)protected Integer modularCongruence(Integer pNumber1, Integer pNumber2, long pModulo)
modularCongruence in class AbstractNumeralFormulaManager<Integer,Integer,Long,NumeralFormula.IntegerFormula,NumeralFormula.IntegerFormula,Integer>pNumber1 - first operandpNumber2 - second operandpModulo - the modulusa = b (mod m)protected Integer modularCongruence0(Integer pNumber1, Integer pNumber2, String pModulo)
protected 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)