gpermutation

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Permutations

type Permutations struct {
	// contains filtered or unexported fields
}

func New

func New() *Permutations

func (*Permutations) AddKind

func (c *Permutations) AddKind(items ...interface{})

func (*Permutations) GetCombinationsCount

func (c *Permutations) GetCombinationsCount() int

获取所有组合的总数

func (*Permutations) GetCurrentLoop

func (c *Permutations) GetCurrentLoop() int

func (*Permutations) ListAll

func (c *Permutations) ListAll() []Result

type Result

type Result struct {
	Items []interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL