org.encog.parse.expression.common
Class ParseCommonExpression
java.lang.Object
org.encog.parse.expression.common.ParseCommonExpression
public class ParseCommonExpression
- extends Object
This 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseCommonExpression
public ParseCommonExpression(EncogProgram theHolder)
parse
public ProgramNode parse(String expression)
Copyright © 2014. All Rights Reserved.