class documentation
class ImpExpression(Expression): (source)
Constructor: ImpExpression(antecedent, consequent)
Undocumented
| Method | __eq__ |
Undocumented |
| Method | __hash__ |
Undocumented |
| Method | __init__ |
No summary |
| Method | __ne__ |
Undocumented |
| Method | __str__ |
Undocumented |
| Method | compile |
From Iddo Lev's PhD Dissertation p108-109 |
| Method | compile |
From Iddo Lev's PhD Dissertation p108-109 |
| Method | initialize |
Undocumented |
| Method | simplify |
Undocumented |
| Method | unify |
Both the antecedent and consequent of 'self' and 'other' must unify. |
| Instance Variable | antecedent |
Undocumented |
| Instance Variable | consequent |
Undocumented |
Inherited from Expression:
| Class Method | fromstring |
Undocumented |
| Method | __call__ |
Undocumented |
| Method | __repr__ |
Undocumented |
| Method | applyto |
Undocumented |
| Class Variable | _linear |
Undocumented |
From Iddo Lev's PhD Dissertation p108-109
| Parameters | |
| index | Counter for unique indices |
| glue | GlueFormula for creating new glue formulas |
| Returns | |
| (Expression,list of GlueFormula) for the compiled linear logic and any newly created glue formulas | |
From Iddo Lev's PhD Dissertation p108-109
| Parameters | |
| index | Counter for unique indices |
| glue | GlueFormula for creating new glue formulas |
| Returns | |
| (Expression,set) for the compiled linear logic and any newly created glue formulas | |
Both the antecedent and consequent of 'self' and 'other' must unify.
| Parameters | |
| other | ImpExpression |
| bindings | BindingDict A dictionary of all current bindings |
| Returns | |
| BindingDict A new combined dictionary of of 'bindings' and any new bindings | |
| Raises | |
UnificationException | If 'self' and 'other' cannot be unified in the context of 'bindings' |