Class FuncInterp<R extends Sort>


  • public class FuncInterp<R extends Sort>
    extends Z3Object
    A function interpretation is represented as a finite map and an 'else' value. Each entry in the finite map represents the value of a function given a set of arguments.
    • Method Detail

      • getNumEntries

        public int getNumEntries()
        The number of entries in the function interpretation.
        Returns:
        an int
        Throws:
        Z3Exception - on error
      • getElse

        public Expr<R> getElse()
        The (symbolic) `else' value of the function interpretation.
        Returns:
        an Expr
        Throws:
        Z3Exception
        Z3Exception - on error
      • getArity

        public int getArity()
        The arity of the function interpretation
        Returns:
        an int
        Throws:
        Z3Exception - on error
      • toString

        public String toString()
        A string representation of the function interpretation.
        Overrides:
        toString in class Object