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