com.lagodiuk.gp.symbolic.interpreter
Class SyntaxTreeUtils
- java.lang.Object
-
- com.lagodiuk.gp.symbolic.interpreter.SyntaxTreeUtils
-
public class SyntaxTreeUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description SyntaxTreeUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static ExpressioncreateTree(int depth, Context context)static voidcutTree(Expression tree, Context context, int depth)static booleanhasVariableNode(Expression tree)static voidsimplifyTree(Expression tree, Context context)
-
-
-
Method Detail
-
createTree
public static Expression createTree(int depth, Context context)
-
simplifyTree
public static void simplifyTree(Expression tree, Context context)
-
cutTree
public static void cutTree(Expression tree, Context context, int depth)
-
hasVariableNode
public static boolean hasVariableNode(Expression tree)
-
-
DMelt 3.0 © DataMelt by jWork.ORG