public interface Model extends Iterable<Model.ValueAssignment>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Model.ValueAssignment |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
evaluate(BitvectorFormula f)
Type-safe evaluation for bitvector formulas.
|
Boolean |
evaluate(BooleanFormula f)
Type-safe evaluation for boolean formulas.
|
Object |
evaluate(Formula f)
Evaluate a given formula substituting the values from the model.
|
BigInteger |
evaluate(NumeralFormula.IntegerFormula f)
Type-safe evaluation for integer formulas.
|
Rational |
evaluate(NumeralFormula.RationalFormula f)
Type-safe evaluation for rational formulas.
|
Iterator<Model.ValueAssignment> |
iterator()
Iterate over all values present in the model.
|
String |
toString()
Pretty-printing of the model values.
|
@Nullable Object evaluate(Formula f)
f - Input formula@Nullable BigInteger evaluate(NumeralFormula.IntegerFormula f)
@Nullable Rational evaluate(NumeralFormula.RationalFormula f)
@Nullable Boolean evaluate(BooleanFormula f)
@Nullable BigInteger evaluate(BitvectorFormula f)
Iterator<Model.ValueAssignment> iterator()
iterator in interface Iterable<Model.ValueAssignment>