public abstract class AbstractModel<TFormulaInfo,TType,TEnv> extends Object implements Model
Model.ValueAssignment| Modifier and Type | Field and Description |
|---|---|
protected FormulaCreator<TFormulaInfo,TType,TEnv> |
creator |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractModel(FormulaCreator<TFormulaInfo,TType,TEnv> creator) |
| 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.
|
protected abstract Object |
evaluateImpl(TFormulaInfo f) |
String |
toString()
Pretty-printing of the model values.
|
protected final FormulaCreator<TFormulaInfo,TType,TEnv> creator
protected AbstractModel(FormulaCreator<TFormulaInfo,TType,TEnv> creator)
@Nullable public BigInteger evaluate(NumeralFormula.IntegerFormula f)
Model@Nullable public Rational evaluate(NumeralFormula.RationalFormula f)
Model@Nullable public Boolean evaluate(BooleanFormula f)
Model@Nullable public BigInteger evaluate(BitvectorFormula f)
Model@Nullable public final Object evaluate(Formula f)
Modelprotected abstract Object evaluateImpl(TFormulaInfo f)