class documentation
class ModelBuilderCommandDecorator(TheoremToolCommandDecorator, ModelBuilderCommand): (source)
Constructor: ModelBuilderCommandDecorator(modelBuilderCommand)
A base decorator for the ModelBuilderCommand class from which other prover command decorators can extend.
| Method | __init__ |
No summary |
| Method | build |
Attempt to build a model. Store the result to prevent unnecessary re-building. |
| Method | get |
Return the model builder object :return: ModelBuilder |
| Method | model |
Return a string representation of the model |
| Method | _decorate |
Modify and return the proof string :param valuation_str: str with the model builder's output :param format: str indicating the format for displaying :return: str |
| Instance Variable | _model |
Undocumented |
| Instance Variable | _result |
Undocumented |
Inherited from TheoremToolCommandDecorator:
| Method | add |
Add new assumptions to the assumption list. |
| Method | assumptions |
List the current assumptions. |
| Method | goal |
Return the goal |
| Method | print |
Print the list of the current assumptions. |
| Method | retract |
Retract assumptions from the assumption list. |
| Instance Variable | _command |
Undocumented |
Return a string representation of the model
| Parameters | |
| format | Undocumented |
| simplify | bool simplify the proof? |
| Returns | |
| str | |