modelparameters.sympy.strategies.branch package¶
Submodules¶
modelparameters.sympy.strategies.branch.core module¶
Generic SymPy-Independent Strategies
- modelparameters.sympy.strategies.branch.core.chain(*brules)[source]¶
Compose a sequence of brules so that they apply to the expr sequentially
- modelparameters.sympy.strategies.branch.core.condition(cond, brule)[source]¶
Only apply branching rule if condition is true
- modelparameters.sympy.strategies.branch.core.debug(brule, file=None)[source]¶
Print the input and output expressions at each rule application
- modelparameters.sympy.strategies.branch.core.do_one(*brules)[source]¶
Execute one of the branching rules
- modelparameters.sympy.strategies.branch.core.exhaust(brule)[source]¶
Apply a branching rule repeatedly until it has no effect
- modelparameters.sympy.strategies.branch.core.multiplex(*brules)[source]¶
Multiplex many branching rules into one
modelparameters.sympy.strategies.branch.tools module¶
modelparameters.sympy.strategies.branch.traverse module¶
Branching Strategies to Traverse a Tree