Documentation of 'org.matheclipse.core.eval.TimeConstrainedEvaluator' Java class
TimeConstrainedEvaluator
org.matheclipse.core.eval

Class TimeConstrainedEvaluator

  • All Implemented Interfaces:
    java.lang.Runnable


    public class TimeConstrainedEvaluator
    extends EvalUtilities
    implements java.lang.Runnable
    Run the evaluation of a given math formula String in a time limited thread
    • Constructor Detail

      • TimeConstrainedEvaluator

        public TimeConstrainedEvaluator(EvalEngine evalEngine,
                                        boolean msie,
                                        long milliSeconds)
      • TimeConstrainedEvaluator

        public TimeConstrainedEvaluator(EvalEngine evalEngine,
                                        boolean msie,
                                        long milliSeconds,
                                        boolean relaxedSyntax)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • constrainedEval

        public IExpr constrainedEval(java.io.Writer writer,
                                     java.lang.String inputString,
                                     boolean traceEvaluation)
                              throws java.lang.Exception
        Runs the evaluation of the given math formula String in a time limited thread
        Parameters:
        traceEvaluation -
        Throws:
        java.lang.Exception
      • constrainedEval

        public IExpr constrainedEval(java.io.Writer writer,
                                     IExpr inputExpression)
                              throws java.lang.Exception
        Runs the evaluation of the given math expression in a time limited thread
        Throws:
        java.lang.Exception
      • getParsedExpression

        public IExpr getParsedExpression()
        Get the parsed expression after calling the constrainedEval() method
        Returns:
        the parsed expression; may return null

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.