TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/grammars/parsing
sampleDerivations
Function sampleDerivations
sampleDerivations
(
cnf
:
CnfCfg
,
length
:
number
,
samples
:
number
,
seed
:
number
,
budget
:
Budget
,
)
:
Result
<
readonly
ParseTree
[]
,
Exhaustion
>
Draws exact weighted derivations with replacement, sharing equal completed subtrees.
Parameters
cnf
:
CnfCfg
length
:
number
samples
:
number
seed
:
number
budget
:
Budget
Returns
Result
<
readonly
ParseTree
[]
,
Exhaustion
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
TOC Toolkit API - v0.1.0
Loading...
Draws exact weighted derivations with replacement, sharing equal completed subtrees.