Documentation of 'com.lagodiuk.gp.symbolic.interpreter.Expression' Java class
Expression
com.lagodiuk.gp.symbolic.interpreter

Class Expression

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class Expression
    extends java.lang.Object
    implements java.lang.Cloneable
    • Constructor Detail

      • Expression

        public Expression(Function function)
    • Method Detail

      • eval

        public double eval(Context context)
      • print

        public java.lang.String print()
      • getChilds

        public java.util.List<Expression> getChilds()
      • addChild

        public void addChild(Expression child)
      • removeChilds

        public void removeChilds()
      • getCoefficientsOfNode

        public java.util.List<java.lang.Double> getCoefficientsOfNode()
      • setCoefficientsOfNode

        public Expression setCoefficientsOfNode(java.util.List<java.lang.Double> coefficients)
      • addCoefficient

        public void addCoefficient(double coefficient)
      • removeCoefficients

        public void removeCoefficients()
      • getVariable

        public java.lang.String getVariable()
      • setVariable

        public Expression setVariable(java.lang.String variable)
      • getFunction

        public Function getFunction()
      • setFunction

        public void setFunction(Function function)
      • clone

        public Expression clone()
        Overrides:
        clone in class java.lang.Object
      • getCoefficientsOfTree

        public java.util.List<java.lang.Double> getCoefficientsOfTree()
      • setCoefficientsOfTree

        public void setCoefficientsOfTree(java.util.List<java.lang.Double> coefficients)
      • getAllNodesAsList

        public java.util.List<Expression> getAllNodesAsList()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.