Class Model.ValueAssignment

java.lang.Object
org.sosy_lab.java_smt.api.Model.ValueAssignment
Enclosing interface:
Model

public static final class Model.ValueAssignment extends Object
  • Constructor Details

  • Method Details

    • getKey

      public Formula getKey()
      The formula AST which is assigned a given value.
    • getValueAsFormula

      public Formula getValueAsFormula()
      The formula AST which is assigned to a given key.
    • getAssignmentAsFormula

      public BooleanFormula getAssignmentAsFormula()
      The formula AST representing the equality of key and value.
    • getName

      public String getName()
      Variable name for variables, function name for UFs, and array name for arrays.
    • getValue

      public Object getValue()
      Value: see the Evaluator.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

      public ImmutableList<Object> getArgumentsInterpretation()
      Interpretation assigned for function arguments. Empty for variables.
    • isFunction

      public boolean isFunction()
    • getArity

      public int getArity()
    • getArgInterpretation

      public Object getArgInterpretation(int i)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object