markov v1.0.10 (2018-05-02T15:52:07Z)
Dub
Repo
MarkovChain.random
markov
chain
MarkovChain
Returns a randomly selected token from a randomly selected state.
T
random
[@property getter]
struct
MarkovChain
(T)
@
property
T
random
()
(
)
if
(
isAssignable
!(
T
,
typeof
(null))
)
Nullable
!(
Unqual
!
T
)
random
[@property getter]
Meta
Source
See Implementation
markov
chain
MarkovChain
constructors
this
functions
feed
generate
push
seed
select
train
properties
empty
length
lengths
random
rehash
reset
sizes
states
Returns a randomly selected token from a randomly selected state.