Package | Description |
---|---|
tk.pratanumandal.expr4j |
The
tk.pratanumandal.expr4j package is the root package of expr4j library. |
tk.pratanumandal.expr4j.shuntingyard |
The
tk.pratanumandal.expr4j.shuntingyard package contains Shunting Yard implementations for expression evaluation. |
Modifier and Type | Field and Description |
---|---|
ShuntingYard |
ExpressionEvaluator.SY
Shunting yard implementation instance to be used to evaluate expression.
|
Modifier and Type | Class and Description |
---|---|
class |
ShuntingYardDualStack
The
ShuntingYardDualStack class provides an implementation of the Shunting Yard algorithm using Dual Stacks.Two stacks are used to immediately evaluate the expression without generating the postfix (or RPN) expression. This is the recommended implementation since theoretically it should use less memory and require less time due to lesser complexity. |
class |
ShuntingYardExpressionTree
The
ShuntingYardExpressionTree class provides an implementation of the Shunting Yard algorithm using Expression Tree.An expression tree is created from the postfix (or RPN) expression. The expression tree is then parsed to evaluate the expression. |
Copyright © 2019 Pratanu Mandal. All rights reserved.