Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcEntropy ¶
CalcEntropy calculates the entropy of m.
Types ¶
type Proba ¶
type Proba struct {
// contains filtered or unexported fields
}
A Proba is used to test if true on given probability.
func (*Proba) TrueOnProba ¶
TrueOnProba checks if true on given probability.
type Unstable ¶
type Unstable struct {
// contains filtered or unexported fields
}
A Unstable is used to generate random value around the mean value base on given deviation.
func (Unstable) AroundDuration ¶
AroundDuration returns a random duration with given base and deviation.
Click to show internal directories.
Click to hide internal directories.