TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit
TwoWayDfaInput
Interface TwoWayDfaInput<Q, A, G>
Read-only marked tape; each constructed operation writes exactly its read symbol.
interface
TwoWayDfaInput
<
Q
extends
NonEmptyNames
,
A
extends
readonly
string
[]
,
G
extends
readonly
string
[]
,
>
{
states
:
Q
;
alphabet
:
A
;
tapeAlphabet
:
G
;
start
:
NoInfer
<
Q
[
number
]
>
;
accept
:
readonly
NoInfer
<
Q
[
number
]
>
[]
;
reject
:
readonly
NoInfer
<
Q
[
number
]
>
[]
;
transitions
:
readonly
{
from
:
NoInfer
<
Q
[
number
]
>
;
to
:
NoInfer
<
Q
[
number
]
>
;
read
:
Marker
|
NoInfer
<
G
[
number
]
>
;
move
:
HeadMove
;
}
[]
;
}
Type Parameters
Q
extends
NonEmptyNames
A
extends
readonly
string
[]
G
extends
readonly
string
[]
Hierarchy (
View Summary
)
TapeInputFields
<
Q
,
A
,
G
>
TwoWayDfaInput
Index
Properties
states
alphabet
tape
Alphabet
start
accept
reject
transitions
Properties
Readonly
states
states
:
Q
Readonly
alphabet
alphabet
:
A
Readonly
tape
Alphabet
tapeAlphabet
:
G
Readonly
start
start
:
NoInfer
<
Q
[
number
]
>
Readonly
accept
accept
:
readonly
NoInfer
<
Q
[
number
]
>
[]
Readonly
reject
reject
:
readonly
NoInfer
<
Q
[
number
]
>
[]
Readonly
transitions
transitions
:
readonly
{
from
:
NoInfer
<
Q
[
number
]
>
;
to
:
NoInfer
<
Q
[
number
]
>
;
read
:
Marker
|
NoInfer
<
G
[
number
]
>
;
move
:
HeadMove
;
}
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
states
alphabet
tape
Alphabet
start
accept
reject
transitions
TOC Toolkit API - v0.1.0
Loading...
Read-only marked tape; each constructed operation writes exactly its read symbol.