public interface Model
ConstantTerms
whose value is of type Rational
.
For non-numeric sorts, we return some term of the corresponding sort. No
further guarantees are made.Modifier and Type | Method and Description |
---|---|
Term |
evaluate(Term input)
Compute the value of an input term.
|
java.util.Map<Term,Term> |
evaluate(Term[] input)
Compute the value of some input terms.
|
java.util.Set<FunctionSymbol> |
getDefinedFunctions()
Get the set of function symbols for which the model defines the value.
|
Term |
getFunctionDefinition(java.lang.String func,
TermVariable[] args)
Get the definition of a function.
|
Term evaluate(Term input)
input
- Term to evaluate.java.util.Map<Term,Term> evaluate(Term[] input)
input
- Terms to evaluate.java.util.Set<FunctionSymbol> getDefinedFunctions()
Term getFunctionDefinition(java.lang.String func, TermVariable[] args)
(define-fun ...)command.
func
- the name of the functionargs
- the variables that should be used in the returned term
to refer to the arguments. Their sort must match the function arguments
of the function.