Class XEvaluator

    • Constructor Detail

      • XEvaluator

        public XEvaluator()
    • Method Detail

      • isForce

        public boolean isForce()
        Whether to force re-evaluation of sub-equations.
      • setForce

        public void setForce​(boolean force)
        Whether to force re-evaluation of sub-equations. If the force parameter is true will always use the equation. If force is false then it only uses the equation is the variable does not have a valid value.
      • visitVar

        public java.lang.Object visitVar​(Node node)
                                  throws EvaluationException
        Evaluates a variable, it will calculate the value using variables equation if necessary. If the force parameter is true will always use the equation. If force is false then it only uses the equation is the variable does not have a valid value.
        Overrides:
        visitVar in class FastEvaluator
        Throws:
        EvaluationException