Documentation
¶
Index ¶
Constants ¶
View Source
const ( StartToken = "$" EndToken = "^" )
Tokens are wrapped around a sequence of words to maintain the start and end transition counts
Variables ¶
View Source
var (
LocalRand *rand.Rand = nil
)
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct {
Order int
// contains filtered or unexported fields
}
Chain is a markov chain instance
func (*Chain) TransitionProbability ¶
TransitionProbability returns the transition probability between two states
Click to show internal directories.
Click to hide internal directories.