friendlysam.opt.Relation¶
-
class
friendlysam.opt.
Relation
¶ Base class for binary relations.
See child classes:
Relation.create (*args) |
Classmethod to create a new object. |
Relation.evaluate ([replace, evaluators]) |
Evaluate the expression recursively. |
Relation.args |
This property holds the arguments of the operation. |
Relation.leaves |
The leaves of the expression tree. |
Relation.value |
The concrete value of the expression, if possible. |
Relation.variables |
This property gives all leaves which are instances of Variable . |