Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Shuffle ¶
func Shuffle(s Shufflable)
func WeightedShuffle ¶
func WeightedShuffle(w WeightedShufflable)
Types ¶
type Shufflable ¶
type WeightedShufflable ¶
type WeightedShufflable interface { Shufflable Weight(i int) int }
Click to show internal directories.
Click to hide internal directories.