TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/automata
<internal>
DfaWork
Class DfaWork
Index
Constructors
constructor
Properties
state
table
Methods
add
State
set
Transition
build
Constructors
constructor
new
DfaWork
(
alphabet
:
readonly
AlphabetSymbol
[]
,
budget
:
Budget
)
:
DfaWork
Parameters
alphabet
:
readonly
AlphabetSymbol
[]
budget
:
Budget
Returns
DfaWork
Properties
Readonly
state
state
:
BuilderState
Readonly
table
table
:
Maybe
<
StateIndex
>
[]
= []
Methods
add
State
addState
(
phase
:
BuilderPhase
)
:
StateIndex
Parameters
phase
:
BuilderPhase
Returns
StateIndex
set
Transition
setTransition
(
phase
:
BuilderPhase
,
from
:
StateIndex
,
symbol
:
AlphabetSymbol
,
to
:
StateIndex
,
)
:
void
Parameters
phase
:
BuilderPhase
from
:
StateIndex
symbol
:
AlphabetSymbol
to
:
StateIndex
Returns
void
build
build
()
:
Dfa
Returns
Dfa
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
state
table
Methods
add
State
set
Transition
build
TOC Toolkit API - v0.1.0
Loading...