Package org.sosy_lab.java_smt.api
Class Model.ValueAssignment
java.lang.Object
org.sosy_lab.java_smt.api.Model.ValueAssignment
- Enclosing interface:
- Model
-
Constructor Summary
ConstructorsConstructorDescriptionValueAssignment(Formula keyFormula, Formula valueFormula, BooleanFormula formula, String name, Object value, List<?> argumentInterpretation) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArgInterpretation(int i) Interpretation assigned for function arguments.intgetArity()The formula AST representing the equality of key and value.getKey()The formula AST which is assigned a given value.getName()Variable name for variables, function name for UFs, and array name for arrays.getValue()Value: see theEvaluator.evaluate(org.sosy_lab.java_smt.api.Formula)methods for the possible types.The formula AST which is assigned to a given key.inthashCode()booleantoString()
-
Constructor Details
-
ValueAssignment
-
-
Method Details
-
getKey
The formula AST which is assigned a given value. -
getValueAsFormula
The formula AST which is assigned to a given key. -
getAssignmentAsFormula
The formula AST representing the equality of key and value. -
getName
Variable name for variables, function name for UFs, and array name for arrays. -
getValue
Value: see theEvaluator.evaluate(org.sosy_lab.java_smt.api.Formula)methods for the possible types.We return only values that can be used in Java, i.e., boolean or numeral values (Rational/Double/BigInteger/Long/Integer).
-
getArgumentsInterpretation
Interpretation assigned for function arguments. Empty for variables. -
isFunction
public boolean isFunction() -
getArity
public int getArity() -
getArgInterpretation
-
toString
-
equals
-
hashCode
public int hashCode()
-