TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit
dfa
Function dfa
dfa
<
const
Q
extends
NonEmptyNames
,
const
A
extends
readonly
string
[]
>
(
input
:
DfaInput
<
Q
,
A
>
,
)
:
Result
<
Typed
<
DfaMachine
,
A
[
number
]
,
Q
[
number
]
>
,
TocError
>
Builds a total DFA in state-major order after constant-time representation gates.
Type Parameters
const
Q
extends
NonEmptyNames
const
A
extends
readonly
string
[]
Parameters
input
:
DfaInput
<
Q
,
A
>
Returns
Result
<
Typed
<
DfaMachine
,
A
[
number
]
,
Q
[
number
]
>
,
TocError
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
TOC Toolkit API - v0.1.0
Loading...
Builds a total DFA in state-major order after constant-time representation gates.