org.encog.parse.expression.common
Class ParseCommonExpression
- java.lang.Object
-
- org.encog.parse.expression.common.ParseCommonExpression
-
public class ParseCommonExpression extends java.lang.ObjectThis class is used to process a common format equation (in-fix) into the tree format that Encog uses. To do this I make use of the shunting yard algorithm. One important note on definitions. I consider an operator to be simply a special type of function. Really, an operator is just a shorthand for writing certain types of functions. Therefore I do not distinguish between functions and operators in this implementation. References: http://en.wikipedia.org/wiki/Shunting-yard_algorithm
-
-
Constructor Summary
Constructors Constructor and Description ParseCommonExpression(EncogProgram theHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ProgramNodeparse(java.lang.String expression)
-
-
-
Constructor Detail
-
ParseCommonExpression
public ParseCommonExpression(EncogProgram theHolder)
-
-
Method Detail
-
parse
public ProgramNode parse(java.lang.String expression)
-
-
DMelt 3.0 © DataMelt by jWork.ORG