Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPermutationChan ¶
func NewPermutationChan[T any](orig []T) chan []T
Types ¶
type Permutation ¶
type Permutation[P any] struct { // contains filtered or unexported fields }
func NewPermutation ¶
func NewPermutation[T any](orig []T) *Permutation[T]
func (*Permutation[T]) Next ¶
func (p *Permutation[T]) Next() []T
Click to show internal directories.
Click to hide internal directories.