jolt

package
v0.0.0-...-0235693 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arrangements

func Arrangements(in []int) int

func ArrangementsEx

func ArrangementsEx(in []int) int

func ArrangementsRec

func ArrangementsRec(in []int) int

func FindChain

func FindChain(in []int) ([]int, bool)

Types

type OneGroup

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

////

func Find1Groups

func Find1Groups(in []int) []*OneGroup

func (*OneGroup) Add

func (g *OneGroup) Add(n int)

func (*OneGroup) CanAdd

func (g *OneGroup) CanAdd(n int) bool

func (*OneGroup) Permutations

func (g *OneGroup) Permutations() int64

func (*OneGroup) Values

func (g *OneGroup) Values() []int

Jump to

Keyboard shortcuts

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