Class NumericalValue<T extends org.sosy_lab.java_smt.api.Formula,K>
java.lang.Object
de.uzl.its.swat.symbolic.value.Value<T,K>
de.uzl.its.swat.symbolic.value.primitive.numeric.NumericalValue<T,K>
- Type Parameters:
T
- The type of Formula used by this ValueK
- The class wrapper around the primitive datatype this value represents
- Direct Known Subclasses:
BooleanValue
,ByteValue
,CharValue
,DoubleValue
,FloatValue
,IntValue
,LongValue
,ShortValue
public abstract class NumericalValue<T extends org.sosy_lab.java_smt.api.Formula,K>
extends Value<T,K>
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.sosy_lab.java_smt.api.IntegerFormulaManager
Java-smt formula manager for handling integral formulas -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenericToString
(String type) protected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula
wrapByte
(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models short overflow in constraintsprotected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula
wrapCharacter
(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models short overflow in constraintsprotected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula
wrapInteger
(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models int overflow in constraintsprotected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula
wrapLong
(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models long overflow in constraintsprotected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula
wrapShort
(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models short overflow in constraintsMethods inherited from class de.uzl.its.swat.symbolic.value.Value
asBooleanValue, asByteValue, asCharValue, asDoubleValue, asFloatValue, asIntValue, asLongValue, asNumericalValue, asObjectValue, asShortValue, asStringValue, getBounds, getConcrete, getConcreteEncoded, getName, getType, initSymbolic, initSymbolic, MAKE_SYMBOLIC, MAKE_SYMBOLIC, MAKE_SYMBOLIC, reset, toString
-
Field Details
-
imgr
protected org.sosy_lab.java_smt.api.IntegerFormulaManager imgrJava-smt formula manager for handling integral formulas
-
-
Constructor Details
-
NumericalValue
public NumericalValue()
-
-
Method Details
-
wrapInteger
protected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula wrapInteger(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models int overflow in constraints- Parameters:
i
- The formula to wrap- Returns:
- The wrapped formula
-
wrapLong
protected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula wrapLong(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models long overflow in constraints- Parameters:
i
- The formula to wrapLong- Returns:
- The wrapped formula
-
wrapShort
protected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula wrapShort(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models short overflow in constraints- Parameters:
i
- The formula to wrap- Returns:
- The wrapped formula
-
wrapByte
protected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula wrapByte(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models short overflow in constraints- Parameters:
i
- The formula to wrap- Returns:
- The wrapped formula
-
wrapCharacter
protected org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula wrapCharacter(org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula i) Models short overflow in constraints- Parameters:
i
- The formula to wrap- Returns:
- The wrapped formula
-
genericToString
-