Package org.sosy_lab.java_smt.api
Interface IntegerFormulaManager
-
- All Superinterfaces:
NumeralFormulaManager<NumeralFormula.IntegerFormula,NumeralFormula.IntegerFormula>
public interface IntegerFormulaManager extends NumeralFormulaManager<NumeralFormula.IntegerFormula,NumeralFormula.IntegerFormula>
Interface which operates overNumeralFormula.IntegerFormulas.Integer formulas always take integral formulas as arguments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FormulaType<NumeralFormula.IntegerFormula>getFormulaType()BooleanFormulamodularCongruence(NumeralFormula.IntegerFormula number1, NumeralFormula.IntegerFormula number2, long n)Create a term representing the constraintnumber1 == number2 (mod n).BooleanFormulamodularCongruence(NumeralFormula.IntegerFormula number1, NumeralFormula.IntegerFormula number2, BigInteger n)Create a term representing the constraintnumber1 == number2 (mod n).NumeralFormula.IntegerFormulamodulo(NumeralFormula.IntegerFormula number1, NumeralFormula.IntegerFormula number2)-
Methods inherited from interface org.sosy_lab.java_smt.api.NumeralFormulaManager
add, distinct, divide, equal, floor, greaterOrEquals, greaterThan, lessOrEquals, lessThan, makeNumber, makeNumber, makeNumber, makeNumber, makeNumber, makeNumber, makeVariable, multiply, negate, subtract, sum
-
-
-
-
Method Detail
-
modularCongruence
BooleanFormula modularCongruence(NumeralFormula.IntegerFormula number1, NumeralFormula.IntegerFormula number2, BigInteger n)
Create a term representing the constraintnumber1 == number2 (mod n).
-
modularCongruence
BooleanFormula modularCongruence(NumeralFormula.IntegerFormula number1, NumeralFormula.IntegerFormula number2, long n)
Create a term representing the constraintnumber1 == number2 (mod n).
-
modulo
NumeralFormula.IntegerFormula modulo(NumeralFormula.IntegerFormula number1, NumeralFormula.IntegerFormula number2)
-
getFormulaType
default FormulaType<NumeralFormula.IntegerFormula> getFormulaType()
- Specified by:
getFormulaTypein interfaceNumeralFormulaManager<NumeralFormula.IntegerFormula,NumeralFormula.IntegerFormula>
-
-