Object

in.tamchow.turing

TuringMain

Related Doc: package turing

Permalink

object TuringMain

The Launcher for the Universal Turing Machine simulator

The parameters are, in order:

1. The input file path

2. The tape size

3. The number of steps for which to run the program. Leave it negative to run it till it halts.

4. The number of milliseconds to pause before starting the next step. Leave this negative to pause for user input before every step.

All these parameters are required.

Only supports program input as files.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TuringMain
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def doRunMain(filePath: String, tapeSize: Int, steps: Int, pauseTime: Int): Unit

    Permalink

    The main runner for the interactive execution of a UniversalTuringMachine

    The main runner for the interactive execution of a UniversalTuringMachine

    filePath

    the source file path

    tapeSize

    the length of the UniversalTuringMachines tape

    steps

    the number of steps for which to run the UniversalTuringMachine

    pauseTime

    the time to pause (in milliseconds) between steps

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def formatSeq(args: Seq[Any]): String

    Permalink

    args

    the Seq to format

    returns

    a formatted String representation of args

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def main(args: Array[String]): Unit

    Permalink

    The entry point of the application

    The entry point of the application

    args

    the command-line arguments

  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped