Object/Class

in.tamchow.turing

TuringCommand

Related Docs: class TuringCommand | package turing

Permalink

object TuringCommand extends Serializable

Encapsulates a single possible operation of a Turing Machine, but here I call it the "Command"

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TuringCommand
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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. val BlankCode: String

    Permalink

    Null (Blank) value Wildcard

  5. val CommandArity: Int

    Permalink

    Number of arguments to TuringCommand, i.e., it's arity

  6. val MatchAnythingCode: String

    Permalink

    Match-all Wildcard

  7. val WhitespaceRegex: String

    Permalink

    the regex for whtespace

  8. def apply(data: (String, String, String, String, MoveDirection)): TuringCommand

    Permalink

    Creates a TuringCommand object from the argument

    Creates a TuringCommand object from the argument

    data

    a tuple containing the necessary arguments for constructing a TuringCommand object

    returns

    a TuringCommand object determined by the argument

  9. def apply(data: String): TuringCommand

    Permalink

    Allowed wildcards:

    Allowed wildcards:

    1. '!' - indicates a null value or the halting command, internally represented as null

    2. '*' - indicates a match-all wildcard character, no separate internal representation

    Separator used is whitespace - 5 terms are required after tokenization

    data

    String indicating a defined transitional operation

    returns

    a TuringCommand object derived from the argument

    See also

    WhitespaceRegex

    CommandArity

    BlankCode

    MatchAnythingCode

  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def escapeNull(elements: Seq[String]): Seq[String]

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped