Class BinaryToNaryRule

java.lang.Object
com.singularsys.extensions.rewrite.AbstractRewrite
com.singularsys.extensions.rewrite.BinaryToNaryRule
All Implemented Interfaces:
RewriteRuleI, JepComponent, Serializable

public class BinaryToNaryRule extends AbstractRewrite
Consolidate nested NaryBinaryFunction functions to a single function with multiple arguments. e.g. (a+b)+c -> +(a,b,c). This rule is the inverse of NaryToBinaryRule and the two should not be used together.
Since:
Jep 4.1 extensions 2.2
See Also: