Constructors
constructor
- new TMError(turingMachine: TuringMachine, name: string, problem: string, solution: string, shortName?: string): TMError
-
Parameters
-
-
name: string
-
problem: string
-
solution: string
-
Default value shortName: string = name
Properties
Protected name
name: string
Protected problem
problem: string
Protected shortName
shortName: string
Protected solution
solution: string
Methods
getName
-
Returns string
Name of the error.
getProblem
-
Returns string
problem description.
getShortName
-
Returns string
Short name of the error.
getSolution
-
Returns string
solution description.