Packages

c

edu.cmu.cs.ls.keymaerax.tools.ext

WolframScript

class WolframScript extends MathematicaLink with Logging

A link to Wolfram Engine via WolframScript.

Linear Supertypes
Logging, LazyLogging, LoggerHolder, MathematicaLink, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WolframScript
  2. Logging
  3. LazyLogging
  4. LoggerHolder
  5. MathematicaLink
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WolframScript()

Type Members

  1. case class Version(major: String, minor: String, revision: String) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cancel(): Boolean

    Cancels the current request.

    Cancels the current request.

    returns

    True if job is successfully cancelled, or False if the new status is unknown.

    Definition Classes
    WolframScriptMathematicaLink
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def evaluate(cmd: String): MExpr
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getVersion: Version

    Returns the version.

  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def init(remainingTrials: Int = 5): Boolean

    Initializes the connection to Wolfram Engine.

    Initializes the connection to Wolfram Engine.

    returns

    true if initialization was successful

    Note

    Must be called before first use of run

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging → LoggerHolder
  17. final val loggerName: String
    Attributes
    protected
    Definition Classes
    LoggerHolder
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def restart(): Unit

    Restarts the Wolfram Engine connection

  22. def run[T](cmd: () ⇒ T, executor: ToolExecutor): T

    Runs a Mathematica command on the specified executor.

    Runs a Mathematica command on the specified executor.

    T

    The exact KeYmaera X expression type expected as result.

    cmd

    The command to run. Disposed as a result of this method.

    executor

    Executes commands (scheduled).

    returns

    The result, as string and as KeYmaera X expression.

    Definition Classes
    WolframScriptMathematicaLink
  23. def runUnchecked[T](cmd: String, m2k: M2KConverter[T]): (String, T)

    Runs the command and then halts program execution until answer is returned.

    Runs the command and then halts program execution until answer is returned.

    T

    The exact KeYmaera X expression type expected as result.

    cmd

    The WolframScript command.

    m2k

    The converter Mathematica->KeYmaera X

    returns

    The result, as string and as KeYmaera X expression.

    Definition Classes
    WolframScriptMathematicaLink
  24. def shutdown(): Unit

    Closes the connection to Wolfram Engine.

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Logging

Inherited from LazyLogging

Inherited from LoggerHolder

Inherited from MathematicaLink

Inherited from AnyRef

Inherited from Any

Ungrouped