Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TuringMachine

Hierarchy

Index

Constructors

constructor

Properties

Private currentStep

currentStep: number

Private state

stateMachine

stateMachine: StateMachine

tape

tape: Tape

Methods

empty

  • empty(): void

export

exportToJSON

  • exportToJSON(): string

getCurrentStep

  • getCurrentStep(): number

getState

isRunnable

  • isRunnable(): boolean

reset

  • reset(): void

run

  • run(maxNbSteps?: number): void

runOneStep

  • runOneStep(): void

toString

  • toString(useLabels?: boolean): string
  • Parameters

    • Default value useLabels: boolean = true

    Returns string

    A string representing the Turing machine.

Static fromExport

Static fromJSONExport

Generated using TypeDoc